@persei/perseed-api 4.34.36 → 5.0.0-beta.2
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/README.md +73 -237
- package/dist/client.cjs +178 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.mjs +178 -0
- package/dist/client.mjs.map +1 -0
- package/dist/global-pagination.cjs +24 -0
- package/dist/global-pagination.cjs.map +1 -0
- package/dist/global-pagination.d.ts +1 -0
- package/dist/global-pagination.mjs +24 -0
- package/dist/global-pagination.mjs.map +1 -0
- package/dist/lib/src/client/index.d.ts +2 -0
- package/dist/lib/src/client/index.d.ts.map +1 -0
- package/dist/lib/src/generated/client.d.ts +559 -0
- package/dist/lib/src/generated/client.d.ts.map +1 -0
- package/dist/src/Services/AiService.d.ts +17 -0
- package/dist/src/Services/AiService.d.ts.map +1 -0
- package/dist/src/Services/ApiService.d.ts +17 -0
- package/dist/src/Services/ApiService.d.ts.map +1 -0
- package/dist/src/Services/ArcangelService.d.ts +41 -0
- package/dist/src/Services/ArcangelService.d.ts.map +1 -0
- package/dist/src/Services/AuthenticationSecurityService.d.ts +33 -0
- package/dist/src/Services/AuthenticationSecurityService.d.ts.map +1 -0
- package/dist/src/Services/BulkUploadService.d.ts +8 -0
- package/dist/src/Services/BulkUploadService.d.ts.map +1 -0
- package/dist/src/Services/CacheService.d.ts +101 -0
- package/dist/src/Services/CacheService.d.ts.map +1 -0
- package/dist/src/Services/ChartService.d.ts +6 -0
- package/dist/src/Services/ChartService.d.ts.map +1 -0
- package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts +7 -0
- package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts.map +1 -0
- package/dist/src/Services/ConditionsMatcher/index.d.ts +4 -0
- package/dist/src/Services/ConditionsMatcher/index.d.ts.map +1 -0
- package/dist/src/Services/CrfService.d.ts +18 -0
- package/dist/src/Services/CrfService.d.ts.map +1 -0
- package/dist/src/Services/DashboardWidgetService.d.ts +14 -0
- package/dist/src/Services/DashboardWidgetService.d.ts.map +1 -0
- package/dist/src/Services/DataService.d.ts +10 -0
- package/dist/src/Services/DataService.d.ts.map +1 -0
- package/dist/src/Services/DbService.d.ts +9 -0
- package/dist/src/Services/DbService.d.ts.map +1 -0
- package/dist/src/Services/DependentService.d.ts +7 -0
- package/dist/src/Services/DependentService.d.ts.map +1 -0
- package/dist/src/Services/DocumentsUpload/DocumentsService.d.ts +29 -0
- package/dist/src/Services/DocumentsUpload/DocumentsService.d.ts.map +1 -0
- package/dist/src/Services/DocumentsUpload/ValidatorDocumentsService.d.ts +28 -0
- package/dist/src/Services/DocumentsUpload/ValidatorDocumentsService.d.ts.map +1 -0
- package/dist/src/Services/EcosystemService.d.ts +7 -0
- package/dist/src/Services/EcosystemService.d.ts.map +1 -0
- package/dist/src/Services/EmailService.d.ts +12 -0
- package/dist/src/Services/EmailService.d.ts.map +1 -0
- package/dist/src/Services/ExportService.d.ts +25 -0
- package/dist/src/Services/ExportService.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Download.d.ts +11 -0
- package/dist/src/Services/Exporter/Download.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/FailedToExport.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/FailedToExport.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/NotAllowedToExport.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/NotAllowedToExport.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/NotExists.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/NotExists.d.ts.map +1 -0
- package/dist/src/Services/Exporter/Errors/StillInProgress.d.ts +6 -0
- package/dist/src/Services/Exporter/Errors/StillInProgress.d.ts.map +1 -0
- package/dist/src/Services/FieldsService.d.ts +23 -0
- package/dist/src/Services/FieldsService.d.ts.map +1 -0
- package/dist/src/Services/FileService.d.ts +40 -0
- package/dist/src/Services/FileService.d.ts.map +1 -0
- package/dist/src/Services/FileServiceProviders/AWSFileServiceProvider.d.ts +4 -0
- package/dist/src/Services/FileServiceProviders/AWSFileServiceProvider.d.ts.map +1 -0
- package/dist/src/Services/FileServiceProviders/FileServiceProvider.d.ts +11 -0
- package/dist/src/Services/FileServiceProviders/FileServiceProvider.d.ts.map +1 -0
- package/dist/src/Services/FileServiceProviders/VaultFileServiceProvider.d.ts +24 -0
- package/dist/src/Services/FileServiceProviders/VaultFileServiceProvider.d.ts.map +1 -0
- package/dist/src/Services/FormService.d.ts +22 -0
- package/dist/src/Services/FormService.d.ts.map +1 -0
- package/dist/src/Services/HospitalService.d.ts +5 -0
- package/dist/src/Services/HospitalService.d.ts.map +1 -0
- package/dist/src/Services/I18nService.d.ts +23 -0
- package/dist/src/Services/I18nService.d.ts.map +1 -0
- package/dist/src/Services/LambdaService.d.ts +16 -0
- package/dist/src/Services/LambdaService.d.ts.map +1 -0
- package/dist/src/Services/MobileService.d.ts +14 -0
- package/dist/src/Services/MobileService.d.ts.map +1 -0
- package/dist/src/Services/NotificationService.d.ts +15 -0
- package/dist/src/Services/NotificationService.d.ts.map +1 -0
- package/dist/src/Services/PatientJourneyService.d.ts +37 -0
- package/dist/src/Services/PatientJourneyService.d.ts.map +1 -0
- package/dist/src/Services/PatientService.d.ts +28 -0
- package/dist/src/Services/PatientService.d.ts.map +1 -0
- package/dist/src/Services/PerseedAPIService.d.ts +12 -0
- package/dist/src/Services/PerseedAPIService.d.ts.map +1 -0
- package/dist/src/Services/PerseedEcosystemService.d.ts +7 -0
- package/dist/src/Services/PerseedEcosystemService.d.ts.map +1 -0
- package/dist/src/Services/PerseedService.d.ts +7 -0
- package/dist/src/Services/PerseedService.d.ts.map +1 -0
- package/dist/src/Services/ProcessLogService.d.ts +10 -0
- package/dist/src/Services/ProcessLogService.d.ts.map +1 -0
- package/dist/src/Services/ProfilingService.d.ts +6 -0
- package/dist/src/Services/ProfilingService.d.ts.map +1 -0
- package/dist/src/Services/ProjectService.d.ts +25 -0
- package/dist/src/Services/ProjectService.d.ts.map +1 -0
- package/dist/src/Services/PublisherService.d.ts +8 -0
- package/dist/src/Services/PublisherService.d.ts.map +1 -0
- package/dist/src/Services/QueryService.d.ts +17 -0
- package/dist/src/Services/QueryService.d.ts.map +1 -0
- package/dist/src/Services/QuestionnaireService.d.ts +12 -0
- package/dist/src/Services/QuestionnaireService.d.ts.map +1 -0
- package/dist/src/Services/RabbitQueueService.d.ts +9 -0
- package/dist/src/Services/RabbitQueueService.d.ts.map +1 -0
- package/dist/src/Services/RedisCacheService.d.ts +24 -0
- package/dist/src/Services/RedisCacheService.d.ts.map +1 -0
- package/dist/src/Services/RedisQueueService.d.ts +19 -0
- package/dist/src/Services/RedisQueueService.d.ts.map +1 -0
- package/dist/src/Services/SMSNotificationsService.d.ts +9 -0
- package/dist/src/Services/SMSNotificationsService.d.ts.map +1 -0
- package/dist/src/Services/ScheduledTasksService.d.ts +5 -0
- package/dist/src/Services/ScheduledTasksService.d.ts.map +1 -0
- package/dist/src/Services/Search/EmptyArray.d.ts +6 -0
- package/dist/src/Services/Search/EmptyArray.d.ts.map +1 -0
- package/dist/src/Services/Search/JsonParser.d.ts +6 -0
- package/dist/src/Services/Search/JsonParser.d.ts.map +1 -0
- package/dist/src/Services/Search/LogicalOperator.d.ts +8 -0
- package/dist/src/Services/Search/LogicalOperator.d.ts.map +1 -0
- package/dist/src/Services/Search/QueryBuilder.d.ts +9 -0
- package/dist/src/Services/Search/QueryBuilder.d.ts.map +1 -0
- package/dist/src/Services/Search/SearchParamValidator.d.ts +6 -0
- package/dist/src/Services/Search/SearchParamValidator.d.ts.map +1 -0
- package/dist/src/Services/Search/ValuesDb.d.ts +8 -0
- package/dist/src/Services/Search/ValuesDb.d.ts.map +1 -0
- package/dist/src/Services/SearchService.d.ts +8 -0
- package/dist/src/Services/SearchService.d.ts.map +1 -0
- package/dist/src/Services/SelectionFieldsService.d.ts +10 -0
- package/dist/src/Services/SelectionFieldsService.d.ts.map +1 -0
- package/dist/src/Services/SignedCookies/SignedCookies.d.ts +10 -0
- package/dist/src/Services/SignedCookies/SignedCookies.d.ts.map +1 -0
- package/dist/src/Services/SignedCookies/Validator.d.ts +17 -0
- package/dist/src/Services/SignedCookies/Validator.d.ts.map +1 -0
- package/dist/src/Services/TaskService.d.ts +11 -0
- package/dist/src/Services/TaskService.d.ts.map +1 -0
- package/dist/src/Services/TemplateService.d.ts +26 -0
- package/dist/src/Services/TemplateService.d.ts.map +1 -0
- package/dist/src/Services/TokenService.d.ts +7 -0
- package/dist/src/Services/TokenService.d.ts.map +1 -0
- package/dist/src/Services/TriggerService.d.ts +27 -0
- package/dist/src/Services/TriggerService.d.ts.map +1 -0
- package/dist/src/Services/TrxService.d.ts +25 -0
- package/dist/src/Services/TrxService.d.ts.map +1 -0
- package/dist/src/Services/UserService.d.ts +85 -0
- package/dist/src/Services/UserService.d.ts.map +1 -0
- package/dist/src/Services/ValidatorService.d.ts +12 -0
- package/dist/src/Services/ValidatorService.d.ts.map +1 -0
- package/dist/src/Services/cryptService.d.ts +6 -0
- package/dist/src/Services/cryptService.d.ts.map +1 -0
- package/dist/src/Services/tasks/InsertAggregateData.d.ts +5 -0
- package/dist/src/Services/tasks/InsertAggregateData.d.ts.map +1 -0
- package/dist/src/app.d.ts +4 -0
- package/dist/src/app.d.ts.map +1 -0
- package/dist/src/config/apiPublicKey.d.ts +5 -0
- package/dist/src/config/apiPublicKey.d.ts.map +1 -0
- package/dist/src/config/config.d.ts +28 -0
- package/dist/src/config/config.d.ts.map +1 -0
- package/dist/src/config/credentials/local.d.ts +3 -0
- package/dist/src/config/credentials/local.d.ts.map +1 -0
- package/dist/src/config/credentials/local_tmp.d.ts +3 -0
- package/dist/src/config/credentials/local_tmp.d.ts.map +1 -0
- package/dist/src/config/credentials/preproduction.d.ts +3 -0
- package/dist/src/config/credentials/preproduction.d.ts.map +1 -0
- package/dist/src/config/credentials/production.d.ts +3 -0
- package/dist/src/config/credentials/production.d.ts.map +1 -0
- package/dist/src/config/credentials/template.d.ts +3 -0
- package/dist/src/config/credentials/template.d.ts.map +1 -0
- package/dist/src/config/credentials/test.d.ts +110 -0
- package/dist/src/config/credentials/test.d.ts.map +1 -0
- package/dist/src/config/credentials/testing.d.ts +3 -0
- package/dist/src/config/credentials/testing.d.ts.map +1 -0
- package/dist/src/config/crypto.d.ts +13 -0
- package/dist/src/config/crypto.d.ts.map +1 -0
- package/dist/src/config/excludeFromQuery.d.ts +3 -0
- package/dist/src/config/excludeFromQuery.d.ts.map +1 -0
- package/dist/src/config/fileConfig.d.ts +12 -0
- package/dist/src/config/fileConfig.d.ts.map +1 -0
- package/dist/src/config/marketLinks.d.ts +8 -0
- package/dist/src/config/marketLinks.d.ts.map +1 -0
- package/dist/src/config/perseedAPI.d.ts +28 -0
- package/dist/src/config/perseedAPI.d.ts.map +1 -0
- package/dist/src/config/perseedCredentials.d.ts +117 -0
- package/dist/src/config/perseedCredentials.d.ts.map +1 -0
- package/dist/src/config/publicPath.d.ts +29 -0
- package/dist/src/config/publicPath.d.ts.map +1 -0
- package/dist/src/constants/Exporter.d.ts +12 -0
- package/dist/src/constants/Exporter.d.ts.map +1 -0
- package/dist/src/constants/Forms.d.ts +494 -0
- package/dist/src/constants/Forms.d.ts.map +1 -0
- package/dist/src/constants/NotifiedTypes.d.ts +9 -0
- package/dist/src/constants/NotifiedTypes.d.ts.map +1 -0
- package/dist/src/constants/PhoneCodes.d.ts +4 -0
- package/dist/src/constants/PhoneCodes.d.ts.map +1 -0
- package/dist/src/constants/Questionnaire.d.ts +57 -0
- package/dist/src/constants/Questionnaire.d.ts.map +1 -0
- package/dist/src/constants/Role.d.ts +7 -0
- package/dist/src/constants/Role.d.ts.map +1 -0
- package/dist/src/constants/SeedPrivilege.d.ts +51 -0
- package/dist/src/constants/SeedPrivilege.d.ts.map +1 -0
- package/dist/src/constants/UserProfile.d.ts +4 -0
- package/dist/src/constants/UserProfile.d.ts.map +1 -0
- package/dist/src/constants/View.d.ts +8 -0
- package/dist/src/constants/View.d.ts.map +1 -0
- package/dist/src/constants/datesFormats.d.ts +7 -0
- package/dist/src/constants/datesFormats.d.ts.map +1 -0
- package/dist/src/constants/index.d.ts +11 -0
- package/dist/src/constants/index.d.ts.map +1 -0
- package/dist/src/controllers/ApiActionController.d.ts +8 -0
- package/dist/src/controllers/ApiActionController.d.ts.map +1 -0
- package/dist/src/controllers/AuthController.d.ts +107 -0
- package/dist/src/controllers/AuthController.d.ts.map +1 -0
- package/dist/src/controllers/BulkUploadController.d.ts +6 -0
- package/dist/src/controllers/BulkUploadController.d.ts.map +1 -0
- package/dist/src/controllers/CalendarController.d.ts +36 -0
- package/dist/src/controllers/CalendarController.d.ts.map +1 -0
- package/dist/src/controllers/ConfigController.d.ts +15 -0
- package/dist/src/controllers/ConfigController.d.ts.map +1 -0
- package/dist/src/controllers/DashboardWidgetController.d.ts +10 -0
- package/dist/src/controllers/DashboardWidgetController.d.ts.map +1 -0
- package/dist/src/controllers/DocumentsController.d.ts +11 -0
- package/dist/src/controllers/DocumentsController.d.ts.map +1 -0
- package/dist/src/controllers/FileController.d.ts +15 -0
- package/dist/src/controllers/FileController.d.ts.map +1 -0
- package/dist/src/controllers/FormController.d.ts +49 -0
- package/dist/src/controllers/FormController.d.ts.map +1 -0
- package/dist/src/controllers/HealhDataController.d.ts +6 -0
- package/dist/src/controllers/HealhDataController.d.ts.map +1 -0
- package/dist/src/controllers/HospitalController.d.ts +7 -0
- package/dist/src/controllers/HospitalController.d.ts.map +1 -0
- package/dist/src/controllers/IntrospectionController.d.ts +9 -0
- package/dist/src/controllers/IntrospectionController.d.ts.map +1 -0
- package/dist/src/controllers/MobileController.d.ts +42 -0
- package/dist/src/controllers/MobileController.d.ts.map +1 -0
- package/dist/src/controllers/PatientController.d.ts +42 -0
- package/dist/src/controllers/PatientController.d.ts.map +1 -0
- package/dist/src/controllers/ProcessLogController.d.ts +8 -0
- package/dist/src/controllers/ProcessLogController.d.ts.map +1 -0
- package/dist/src/controllers/ProjectController.d.ts +26 -0
- package/dist/src/controllers/ProjectController.d.ts.map +1 -0
- package/dist/src/controllers/QueryController.d.ts +9 -0
- package/dist/src/controllers/QueryController.d.ts.map +1 -0
- package/dist/src/controllers/ReportController.d.ts +8 -0
- package/dist/src/controllers/ReportController.d.ts.map +1 -0
- package/dist/src/controllers/SelfRegistrationCodeController.d.ts +7 -0
- package/dist/src/controllers/SelfRegistrationCodeController.d.ts.map +1 -0
- package/dist/src/controllers/SubformController.d.ts +9 -0
- package/dist/src/controllers/SubformController.d.ts.map +1 -0
- package/dist/src/controllers/TokenController.d.ts +6 -0
- package/dist/src/controllers/TokenController.d.ts.map +1 -0
- package/dist/src/controllers/TriggerController.d.ts +11 -0
- package/dist/src/controllers/TriggerController.d.ts.map +1 -0
- package/dist/src/controllers/UserController.d.ts +33 -0
- package/dist/src/controllers/UserController.d.ts.map +1 -0
- package/dist/src/controllers/forms/NextController.d.ts +7 -0
- package/dist/src/controllers/forms/NextController.d.ts.map +1 -0
- package/dist/src/controllers/forms/QuestionnaireController.d.ts +52 -0
- package/dist/src/controllers/forms/QuestionnaireController.d.ts.map +1 -0
- package/dist/src/errors/ApiError.d.ts +32 -0
- package/dist/src/errors/ApiError.d.ts.map +1 -0
- package/dist/src/errors/EcosystemPoolError.d.ts +5 -0
- package/dist/src/errors/EcosystemPoolError.d.ts.map +1 -0
- package/dist/src/errors/EmailNotFoundError.d.ts +5 -0
- package/dist/src/errors/EmailNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/PatientNotFoundError.d.ts +5 -0
- package/dist/src/errors/PatientNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/PerseedPoolError.d.ts +5 -0
- package/dist/src/errors/PerseedPoolError.d.ts.map +1 -0
- package/dist/src/errors/ProjectPoolError.d.ts +5 -0
- package/dist/src/errors/ProjectPoolError.d.ts.map +1 -0
- package/dist/src/errors/QuestionnaireLockedError.d.ts +5 -0
- package/dist/src/errors/QuestionnaireLockedError.d.ts.map +1 -0
- package/dist/src/errors/SQLError.d.ts +6 -0
- package/dist/src/errors/SQLError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicApiError.d.ts +7 -0
- package/dist/src/errors/public/PublicApiError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicConflictError.d.ts +5 -0
- package/dist/src/errors/public/PublicConflictError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicForbiddenError.d.ts +5 -0
- package/dist/src/errors/public/PublicForbiddenError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicFormNotFoundError.d.ts +5 -0
- package/dist/src/errors/public/PublicFormNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicFormatNotAllowedError.d.ts +5 -0
- package/dist/src/errors/public/PublicFormatNotAllowedError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicInvalidTokenError.d.ts +6 -0
- package/dist/src/errors/public/PublicInvalidTokenError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicMFAError.d.ts +6 -0
- package/dist/src/errors/public/PublicMFAError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicNotFoundError.d.ts +5 -0
- package/dist/src/errors/public/PublicNotFoundError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicPermissionsError.d.ts +5 -0
- package/dist/src/errors/public/PublicPermissionsError.d.ts.map +1 -0
- package/dist/src/errors/public/PublicValidateError.d.ts +6 -0
- package/dist/src/errors/public/PublicValidateError.d.ts.map +1 -0
- package/dist/src/helpers/builders/fields.d.ts +3 -0
- package/dist/src/helpers/builders/fields.d.ts.map +1 -0
- package/dist/src/helpers/builders/index.d.ts +3 -0
- package/dist/src/helpers/builders/index.d.ts.map +1 -0
- package/dist/src/helpers/dashboards.d.ts +19 -0
- package/dist/src/helpers/dashboards.d.ts.map +1 -0
- package/dist/src/helpers/dates.d.ts +21 -0
- package/dist/src/helpers/dates.d.ts.map +1 -0
- package/dist/src/helpers/error.d.ts +6 -0
- package/dist/src/helpers/error.d.ts.map +1 -0
- package/dist/src/helpers/handlebarsHelper.d.ts +7 -0
- package/dist/src/helpers/handlebarsHelper.d.ts.map +1 -0
- package/dist/src/helpers/index.d.ts +10 -0
- package/dist/src/helpers/index.d.ts.map +1 -0
- package/dist/src/helpers/paging.d.ts +7 -0
- package/dist/src/helpers/paging.d.ts.map +1 -0
- package/dist/src/helpers/requests.d.ts +2 -0
- package/dist/src/helpers/requests.d.ts.map +1 -0
- package/dist/src/helpers/sql.d.ts +17 -0
- package/dist/src/helpers/sql.d.ts.map +1 -0
- package/dist/src/helpers/strings.d.ts +16 -0
- package/dist/src/helpers/strings.d.ts.map +1 -0
- package/dist/src/instrument.d.ts +2 -0
- package/dist/src/instrument.d.ts.map +1 -0
- package/dist/src/lib/HandlebarsAsyncHelper/AsyncHelpers.d.ts +3 -0
- package/dist/src/lib/HandlebarsAsyncHelper/AsyncHelpers.d.ts.map +1 -0
- package/dist/src/lib.d.ts +8 -0
- package/dist/src/lib.d.ts.map +1 -0
- package/dist/src/log/debug.d.ts +5 -0
- package/dist/src/log/debug.d.ts.map +1 -0
- package/dist/src/middlewares/httpContext.d.ts +21 -0
- package/dist/src/middlewares/httpContext.d.ts.map +1 -0
- package/dist/src/middlewares/scopes.d.ts +11 -0
- package/dist/src/middlewares/scopes.d.ts.map +1 -0
- package/dist/src/middlewares/security.d.ts +2 -0
- package/dist/src/middlewares/security.d.ts.map +1 -0
- package/dist/src/middlewares/validator.d.ts +6 -0
- package/dist/src/middlewares/validator.d.ts.map +1 -0
- package/dist/src/models/BaseModel.d.ts +8 -0
- package/dist/src/models/BaseModel.d.ts.map +1 -0
- package/dist/src/models/EcosystemUsers.d.ts +207 -0
- package/dist/src/models/EcosystemUsers.d.ts.map +1 -0
- package/dist/src/models/ecosystem/BatchUserData.d.ts +25 -0
- package/dist/src/models/ecosystem/BatchUserData.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Clinic.d.ts +106 -0
- package/dist/src/models/ecosystem/Clinic.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentFilled.d.ts +52 -0
- package/dist/src/models/ecosystem/ConsentFilled.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentGeneral.d.ts +66 -0
- package/dist/src/models/ecosystem/ConsentGeneral.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentGroupMeta.d.ts +50 -0
- package/dist/src/models/ecosystem/ConsentGroupMeta.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentMeta.d.ts +39 -0
- package/dist/src/models/ecosystem/ConsentMeta.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ConsentMetaFilled.d.ts +25 -0
- package/dist/src/models/ecosystem/ConsentMetaFilled.d.ts.map +1 -0
- package/dist/src/models/ecosystem/DashboardWidget.d.ts +125 -0
- package/dist/src/models/ecosystem/DashboardWidget.d.ts.map +1 -0
- package/dist/src/models/ecosystem/DashboardWidgetBlock.d.ts +52 -0
- package/dist/src/models/ecosystem/DashboardWidgetBlock.d.ts.map +1 -0
- package/dist/src/models/ecosystem/DeletionAudit.d.ts +65 -0
- package/dist/src/models/ecosystem/DeletionAudit.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Ecosystem.d.ts +56 -0
- package/dist/src/models/ecosystem/Ecosystem.d.ts.map +1 -0
- package/dist/src/models/ecosystem/EcosystemConfig.d.ts +45 -0
- package/dist/src/models/ecosystem/EcosystemConfig.d.ts.map +1 -0
- package/dist/src/models/ecosystem/EcosystemUsers.d.ts +13 -0
- package/dist/src/models/ecosystem/EcosystemUsers.d.ts.map +1 -0
- package/dist/src/models/ecosystem/EmailTemplate.d.ts +66 -0
- package/dist/src/models/ecosystem/EmailTemplate.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ExternalProject.d.ts +36 -0
- package/dist/src/models/ecosystem/ExternalProject.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts +117 -0
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationInfo.d.ts +90 -0
- package/dist/src/models/ecosystem/NotificationInfo.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationLog.d.ts +222 -0
- package/dist/src/models/ecosystem/NotificationLog.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationTemplate.d.ts +78 -0
- package/dist/src/models/ecosystem/NotificationTemplate.d.ts.map +1 -0
- package/dist/src/models/ecosystem/NotificationUserStatus.d.ts +60 -0
- package/dist/src/models/ecosystem/NotificationUserStatus.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Outcome.d.ts +76 -0
- package/dist/src/models/ecosystem/Outcome.d.ts.map +1 -0
- package/dist/src/models/ecosystem/PerseedNotificationTemplate.d.ts +79 -0
- package/dist/src/models/ecosystem/PerseedNotificationTemplate.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProcessLog.d.ts +116 -0
- package/dist/src/models/ecosystem/ProcessLog.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Profiling.d.ts +159 -0
- package/dist/src/models/ecosystem/Profiling.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingAddRepeatCrf.d.ts +23 -0
- package/dist/src/models/ecosystem/ProfilingAddRepeatCrf.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingConsent.d.ts +51 -0
- package/dist/src/models/ecosystem/ProfilingConsent.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingDashboard.d.ts +30 -0
- package/dist/src/models/ecosystem/ProfilingDashboard.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingDeleteRepeatCrf.d.ts +23 -0
- package/dist/src/models/ecosystem/ProfilingDeleteRepeatCrf.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingEnableCp.d.ts +27 -0
- package/dist/src/models/ecosystem/ProfilingEnableCp.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingPrivilegeDenied.d.ts +27 -0
- package/dist/src/models/ecosystem/ProfilingPrivilegeDenied.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingSeedPrivilege.d.ts +33 -0
- package/dist/src/models/ecosystem/ProfilingSeedPrivilege.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProfilingSelected.d.ts +31 -0
- package/dist/src/models/ecosystem/ProfilingSelected.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Project.d.ts +158 -0
- package/dist/src/models/ecosystem/Project.d.ts.map +1 -0
- package/dist/src/models/ecosystem/ProjectClinic.d.ts +34 -0
- package/dist/src/models/ecosystem/ProjectClinic.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Role.d.ts +24 -0
- package/dist/src/models/ecosystem/Role.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Seed.d.ts +46 -0
- package/dist/src/models/ecosystem/Seed.d.ts.map +1 -0
- package/dist/src/models/ecosystem/SeedPrivilege.d.ts +79 -0
- package/dist/src/models/ecosystem/SeedPrivilege.d.ts.map +1 -0
- package/dist/src/models/ecosystem/SelfRegistrationCode.d.ts +63 -0
- package/dist/src/models/ecosystem/SelfRegistrationCode.d.ts.map +1 -0
- package/dist/src/models/ecosystem/Tokens.d.ts +56 -0
- package/dist/src/models/ecosystem/Tokens.d.ts.map +1 -0
- package/dist/src/models/ecosystem/User.d.ts +349 -0
- package/dist/src/models/ecosystem/User.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserClinic.d.ts +44 -0
- package/dist/src/models/ecosystem/UserClinic.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserEcosystem.d.ts +23 -0
- package/dist/src/models/ecosystem/UserEcosystem.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserMobileApp.d.ts +57 -0
- package/dist/src/models/ecosystem/UserMobileApp.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserPatient.d.ts +83 -0
- package/dist/src/models/ecosystem/UserPatient.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserProfile.d.ts +160 -0
- package/dist/src/models/ecosystem/UserProfile.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserProfiling.d.ts +53 -0
- package/dist/src/models/ecosystem/UserProfiling.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserProject.d.ts +42 -0
- package/dist/src/models/ecosystem/UserProject.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserRole.d.ts +37 -0
- package/dist/src/models/ecosystem/UserRole.d.ts.map +1 -0
- package/dist/src/models/ecosystem/UserTrustedAccess.d.ts +59 -0
- package/dist/src/models/ecosystem/UserTrustedAccess.d.ts.map +1 -0
- package/dist/src/models/perseed/MFACode.d.ts +45 -0
- package/dist/src/models/perseed/MFACode.d.ts.map +1 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts +54 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts.map +1 -0
- package/dist/src/models/perseed/PerseedEmailTemplate.d.ts +8 -0
- package/dist/src/models/perseed/PerseedEmailTemplate.d.ts.map +1 -0
- package/dist/src/models/perseed/RawHealthRecord.d.ts +49 -0
- package/dist/src/models/perseed/RawHealthRecord.d.ts.map +1 -0
- package/dist/src/models/perseed/ScheduledTasks.d.ts +86 -0
- package/dist/src/models/perseed/ScheduledTasks.d.ts.map +1 -0
- package/dist/src/models/perseed/ScheduledTasksLog.d.ts +59 -0
- package/dist/src/models/perseed/ScheduledTasksLog.d.ts.map +1 -0
- package/dist/src/models/perseed/UserSettings.d.ts +91 -0
- package/dist/src/models/perseed/UserSettings.d.ts.map +1 -0
- package/dist/src/models/project/AbstractDisplayer.d.ts +34 -0
- package/dist/src/models/project/AbstractDisplayer.d.ts.map +1 -0
- package/dist/src/models/project/BulkUpload.d.ts +94 -0
- package/dist/src/models/project/BulkUpload.d.ts.map +1 -0
- package/dist/src/models/project/Categories.d.ts +18 -0
- package/dist/src/models/project/Categories.d.ts.map +1 -0
- package/dist/src/models/project/ConfigurationPatient.d.ts +56 -0
- package/dist/src/models/project/ConfigurationPatient.d.ts.map +1 -0
- package/dist/src/models/project/DesignerCrf.d.ts +290 -0
- package/dist/src/models/project/DesignerCrf.d.ts.map +1 -0
- package/dist/src/models/project/DesignerCrfMeta.d.ts +52 -0
- package/dist/src/models/project/DesignerCrfMeta.d.ts.map +1 -0
- package/dist/src/models/project/DesignerField.d.ts +222 -0
- package/dist/src/models/project/DesignerField.d.ts.map +1 -0
- package/dist/src/models/project/DesignerFieldMeta.d.ts +60 -0
- package/dist/src/models/project/DesignerFieldMeta.d.ts.map +1 -0
- package/dist/src/models/project/Displayer.d.ts +14 -0
- package/dist/src/models/project/Displayer.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerMeta.d.ts +77 -0
- package/dist/src/models/project/DisplayerMeta.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerMetaInfo.d.ts +44 -0
- package/dist/src/models/project/DisplayerMetaInfo.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerPatient.d.ts +13 -0
- package/dist/src/models/project/DisplayerPatient.d.ts.map +1 -0
- package/dist/src/models/project/DisplayerSubformReference.d.ts +39 -0
- package/dist/src/models/project/DisplayerSubformReference.d.ts.map +1 -0
- package/dist/src/models/project/ExporterAudit.d.ts +104 -0
- package/dist/src/models/project/ExporterAudit.d.ts.map +1 -0
- package/dist/src/models/project/ExporterConfigNew.d.ts +28 -0
- package/dist/src/models/project/ExporterConfigNew.d.ts.map +1 -0
- package/dist/src/models/project/ExternalDisplayerCrf.d.ts +39 -0
- package/dist/src/models/project/ExternalDisplayerCrf.d.ts.map +1 -0
- package/dist/src/models/project/ExternalPatientProject.d.ts +63 -0
- package/dist/src/models/project/ExternalPatientProject.d.ts.map +1 -0
- package/dist/src/models/project/ExternalProjectFields.d.ts +26 -0
- package/dist/src/models/project/ExternalProjectFields.d.ts.map +1 -0
- package/dist/src/models/project/PatientPrograms.d.ts +91 -0
- package/dist/src/models/project/PatientPrograms.d.ts.map +1 -0
- package/dist/src/models/project/QueryDiscussion.d.ts +125 -0
- package/dist/src/models/project/QueryDiscussion.d.ts.map +1 -0
- package/dist/src/models/project/QueryDiscussionDes.d.ts +74 -0
- package/dist/src/models/project/QueryDiscussionDes.d.ts.map +1 -0
- package/dist/src/models/project/QuestionariesInfo.d.ts +300 -0
- package/dist/src/models/project/QuestionariesInfo.d.ts.map +1 -0
- package/dist/src/models/project/QuestionnairesInfoLog.d.ts +182 -0
- package/dist/src/models/project/QuestionnairesInfoLog.d.ts.map +1 -0
- package/dist/src/models/project/UploaderCategory.d.ts +27 -0
- package/dist/src/models/project/UploaderCategory.d.ts.map +1 -0
- package/dist/src/models/project/UploaderDocument.d.ts +86 -0
- package/dist/src/models/project/UploaderDocument.d.ts.map +1 -0
- package/dist/src/models/project/UploaderDocumentCategory.d.ts +48 -0
- package/dist/src/models/project/UploaderDocumentCategory.d.ts.map +1 -0
- package/dist/src/models/request/RequestContext.d.ts +89 -0
- package/dist/src/models/request/RequestContext.d.ts.map +1 -0
- package/dist/src/models/virtual/AuthenticationSecurity.d.ts +16 -0
- package/dist/src/models/virtual/AuthenticationSecurity.d.ts.map +1 -0
- package/dist/src/models/virtual/CRFs/meta/DependenceCRF.d.ts +16 -0
- package/dist/src/models/virtual/CRFs/meta/DependenceCRF.d.ts.map +1 -0
- package/dist/src/models/virtual/FieldValue.d.ts +22 -0
- package/dist/src/models/virtual/FieldValue.d.ts.map +1 -0
- package/dist/src/models/virtual/FormValue.d.ts +13 -0
- package/dist/src/models/virtual/FormValue.d.ts.map +1 -0
- package/dist/src/models/virtual/QuestionnaireCrf.d.ts +74 -0
- package/dist/src/models/virtual/QuestionnaireCrf.d.ts.map +1 -0
- package/dist/src/models/virtual/fields/meta/Dependence.d.ts +14 -0
- package/dist/src/models/virtual/fields/meta/Dependence.d.ts.map +1 -0
- package/dist/src/models/virtual/fields/meta/dependence/ConditionLine.d.ts +40 -0
- package/dist/src/models/virtual/fields/meta/dependence/ConditionLine.d.ts.map +1 -0
- package/dist/src/module.d.ts +32 -0
- package/dist/src/overrides.d.ts +9 -0
- package/dist/src/routes/auth/autohooks.d.ts +4 -0
- package/dist/src/routes/auth/autohooks.d.ts.map +1 -0
- package/dist/src/routes/auth/index.d.ts +4 -0
- package/dist/src/routes/auth/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/clinic/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/clinic/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/heartbeat/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/heartbeat/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/hospital/index.d.ts +7 -0
- package/dist/src/routes/ecosystem/_ecosystemName/hospital/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/processLog/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/config/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/config/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/form/_formName/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/form/_formName/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/_id/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/_id/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/self-register/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/self-register/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/selfregister/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/selfregister/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/_userId/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/_userId/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/contact/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/contact/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/forget/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/forget/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/_ecosystemName/user/index.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/autohooks.d.ts +4 -0
- package/dist/src/routes/ecosystem/autohooks.d.ts.map +1 -0
- package/dist/src/routes/ecosystem/index.d.ts +4 -0
- package/dist/src/routes/ecosystem/index.d.ts.map +1 -0
- package/dist/src/routes/global/autohooks.d.ts +4 -0
- package/dist/src/routes/global/autohooks.d.ts.map +1 -0
- package/dist/src/routes/global/index.d.ts +4 -0
- package/dist/src/routes/global/index.d.ts.map +1 -0
- package/dist/src/routes/global/user/index.d.ts +4 -0
- package/dist/src/routes/global/user/index.d.ts.map +1 -0
- package/dist/src/routes/index.d.ts +4 -0
- package/dist/src/routes/index.d.ts.map +1 -0
- package/dist/src/routes/redirectToMarkets/index.d.ts +4 -0
- package/dist/src/routes/redirectToMarkets/index.d.ts.map +1 -0
- package/dist/src/routes/user/forget/index.d.ts +4 -0
- package/dist/src/routes/user/forget/index.d.ts.map +1 -0
- package/dist/src/routes/user/index.d.ts +4 -0
- package/dist/src/routes/user/index.d.ts.map +1 -0
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts +15 -0
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts.map +1 -0
- package/dist/src/schemas/api_action/index.d.ts +2 -0
- package/dist/src/schemas/api_action/index.d.ts.map +1 -0
- package/dist/src/schemas/authentication_security/index.d.ts +2 -0
- package/dist/src/schemas/authentication_security/index.d.ts.map +1 -0
- package/dist/src/schemas/authentication_security/types.d.ts +30 -0
- package/dist/src/schemas/authentication_security/types.d.ts.map +1 -0
- package/dist/src/schemas/bulk_upload/index.d.ts +2 -0
- package/dist/src/schemas/bulk_upload/index.d.ts.map +1 -0
- package/dist/src/schemas/bulk_upload/types.d.ts +12 -0
- package/dist/src/schemas/bulk_upload/types.d.ts.map +1 -0
- package/dist/{schemas → src/schemas}/bulk_upload/update_bulk_upload_payload.schema.json +3 -0
- package/dist/src/schemas/dashboard_widget/col.d.ts +26 -0
- package/dist/src/schemas/dashboard_widget/col.d.ts.map +1 -0
- package/dist/{schemas → src/schemas}/dashboard_widget/create_widget_payload.schema.json +85 -23
- package/dist/src/schemas/dashboard_widget/dataLoaders/Outcomes.d.ts +7 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/Outcomes.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts +2 -0
- package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/i18n.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/i18n.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/index.d.ts +5 -0
- package/dist/src/schemas/dashboard_widget/index.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/types.d.ts +130 -0
- package/dist/src/schemas/dashboard_widget/types.d.ts.map +1 -0
- package/dist/{schemas → src/schemas}/dashboard_widget/update_widget_payload.schema.json +85 -23
- package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/PatientListProps.d.ts +89 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/PatientListProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/SectionCardProps.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/SectionCardProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/ValueCardProps.d.ts +13 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/ValueCardProps.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts +6 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts +8 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts +8 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts +17 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts +11 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts +8 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts.map +1 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/index.d.ts +5 -0
- package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/index.d.ts.map +1 -0
- package/dist/src/schemas/designer_field/index.d.ts +2 -0
- package/dist/src/schemas/designer_field/index.d.ts.map +1 -0
- package/dist/src/schemas/designer_field/types.d.ts +26 -0
- package/dist/src/schemas/designer_field/types.d.ts.map +1 -0
- package/dist/src/schemas/forms/FormServicePayloads.d.ts +23 -0
- package/dist/src/schemas/forms/FormServicePayloads.d.ts.map +1 -0
- package/dist/src/schemas/forms/index.d.ts +2 -0
- package/dist/src/schemas/forms/index.d.ts.map +1 -0
- package/dist/src/schemas/index.d.ts +12 -0
- package/dist/src/schemas/index.d.ts.map +1 -0
- package/dist/src/schemas/notification_configuration/NotifiedAboutInfo.d.ts +15 -0
- package/dist/src/schemas/notification_configuration/NotifiedAboutInfo.d.ts.map +1 -0
- package/dist/src/schemas/notification_configuration/index.d.ts +3 -0
- package/dist/src/schemas/notification_configuration/index.d.ts.map +1 -0
- package/dist/src/schemas/notification_configuration/types.d.ts +105 -0
- package/dist/src/schemas/notification_configuration/types.d.ts.map +1 -0
- package/dist/src/schemas/outcomes/index.d.ts +2 -0
- package/dist/src/schemas/outcomes/index.d.ts.map +1 -0
- package/dist/src/schemas/outcomes/types.d.ts +32 -0
- package/dist/src/schemas/outcomes/types.d.ts.map +1 -0
- package/dist/src/schemas/process_log/index.d.ts +2 -0
- package/dist/src/schemas/process_log/index.d.ts.map +1 -0
- package/dist/src/schemas/process_log/types.d.ts +43 -0
- package/dist/src/schemas/process_log/types.d.ts.map +1 -0
- package/dist/src/schemas/questionnaire/index.d.ts +2 -0
- package/dist/src/schemas/questionnaire/index.d.ts.map +1 -0
- package/dist/src/schemas/questionnaire/types.d.ts +39 -0
- package/dist/src/schemas/questionnaire/types.d.ts.map +1 -0
- package/dist/src/schemas/user_settings/index.d.ts +2 -0
- package/dist/src/schemas/user_settings/index.d.ts.map +1 -0
- package/dist/src/schemas/user_settings/types.d.ts +6 -0
- package/dist/src/schemas/user_settings/types.d.ts.map +1 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/types/JSONValue.d.ts +6 -0
- package/dist/src/types/JSONValue.d.ts.map +1 -0
- package/dist/src/types/ts-helpers.d.ts +2 -0
- package/dist/src/types/ts-helpers.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/index.d.ts +7 -0
- package/dist/src/v2/modules/ecosystem/user-access/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.controller.d.ts +8 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.helper.d.ts +5 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.middleware.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.model.d.ts +140 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.schema.d.ts +45 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.service.d.ts +8 -0
- package/dist/src/v2/modules/ecosystem/user-access/user-access.service.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts +46 -0
- package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-error/index.d.ts +2 -0
- package/dist/src/v2/modules/global/api-error/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-version/api-version.middleware.d.ts +2 -0
- package/dist/src/v2/modules/global/api-version/api-version.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-version/api-version.test.d.ts +2 -0
- package/dist/src/v2/modules/global/api-version/api-version.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/api-version/index.d.ts +2 -0
- package/dist/src/v2/modules/global/api-version/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth/auth.controller.d.ts +5 -0
- package/dist/src/v2/modules/global/auth/auth.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth/auth.schema.d.ts +6 -0
- package/dist/src/v2/modules/global/auth/auth.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth/index.d.ts +3 -0
- package/dist/src/v2/modules/global/auth/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts +9 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.helper.d.ts +10 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.middleware.d.ts +14 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/index.d.ts +3 -0
- package/dist/src/v2/modules/global/auth-token/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.d.ts +6 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.test.d.ts +2 -0
- package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/basic-auth/index.d.ts +2 -0
- package/dist/src/v2/modules/global/basic-auth/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/bullmq-admin/bullmq-admin.middleware.d.ts +5 -0
- package/dist/src/v2/modules/global/bullmq-admin/bullmq-admin.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/bullmq-admin/index.d.ts +2 -0
- package/dist/src/v2/modules/global/bullmq-admin/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/crypto/crypto.helper.d.ts +2 -0
- package/dist/src/v2/modules/global/crypto/crypto.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/crypto/index.d.ts +2 -0
- package/dist/src/v2/modules/global/crypto/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/dates/dates.middleware.d.ts +2 -0
- package/dist/src/v2/modules/global/dates/dates.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/dates/index.d.ts +2 -0
- package/dist/src/v2/modules/global/dates/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/geoip/geoip.middleware.d.ts +9 -0
- package/dist/src/v2/modules/global/geoip/geoip.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/geoip/index.d.ts +2 -0
- package/dist/src/v2/modules/global/geoip/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/i18n/i18n.middleware.d.ts +5 -0
- package/dist/src/v2/modules/global/i18n/i18n.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/i18n/index.d.ts +2 -0
- package/dist/src/v2/modules/global/i18n/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/index.d.ts +2 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.d.ts +42 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/objection/index.d.ts +2 -0
- package/dist/src/v2/modules/global/objection/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/objection/objection.helper.d.ts +14 -0
- package/dist/src/v2/modules/global/objection/objection.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/index.d.ts +3 -0
- package/dist/src/v2/modules/global/pagination/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/lib.d.ts +2 -0
- package/dist/src/v2/modules/global/pagination/lib.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/pagination.helper.d.ts +4 -0
- package/dist/src/v2/modules/global/pagination/pagination.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/pagination/pagination.schema.d.ts +12 -0
- package/dist/src/v2/modules/global/pagination/pagination.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-context/index.d.ts +2 -0
- package/dist/src/v2/modules/global/request-context/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-context/request-context.middleware.d.ts +8 -0
- package/dist/src/v2/modules/global/request-context/request-context.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-fingerprint/index.d.ts +3 -0
- package/dist/src/v2/modules/global/request-fingerprint/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts +8 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.schema.d.ts +11 -0
- package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-id/index.d.ts +3 -0
- package/dist/src/v2/modules/global/request-id/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-id/request-id.helper.d.ts +3 -0
- package/dist/src/v2/modules/global/request-id/request-id.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-id/request-id.middleware.d.ts +2 -0
- package/dist/src/v2/modules/global/request-id/request-id.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-log/index.d.ts +2 -0
- package/dist/src/v2/modules/global/request-log/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts +3 -0
- package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-time/index.d.ts +3 -0
- package/dist/src/v2/modules/global/request-time/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-time/request-time.helper.d.ts +2 -0
- package/dist/src/v2/modules/global/request-time/request-time.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/request-time/request-time.middleware.d.ts +7 -0
- package/dist/src/v2/modules/global/request-time/request-time.middleware.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document/document.model.d.ts +12 -0
- package/dist/src/v2/modules/project/document/document.model.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document/document.schema.d.ts +6 -0
- package/dist/src/v2/modules/project/document/document.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document/index.d.ts +3 -0
- package/dist/src/v2/modules/project/document/index.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.d.ts +5 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts +2 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts +2 -0
- package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.model.d.ts +32 -0
- package/dist/src/v2/modules/project/document-category/document-category.model.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.schema.d.ts +26 -0
- package/dist/src/v2/modules/project/document-category/document-category.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.d.ts +18 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.test.d.ts +2 -0
- package/dist/src/v2/modules/project/document-category/document-category.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/project/document-category/index.d.ts +4 -0
- package/dist/src/v2/modules/project/document-category/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/auth/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/auth/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.d.ts +4 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.d.ts +5 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts +4 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts +7 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts.map +1 -0
- package/dist/src/v2/test/e2e-config.d.ts +46 -0
- package/dist/src/v2/test/e2e-config.d.ts.map +1 -0
- package/dist/src/v2/test/e2e-helpers.d.ts +22 -0
- package/dist/src/v2/test/e2e-helpers.d.ts.map +1 -0
- package/dist/src/v2/test/e2e-setup.d.ts +8 -0
- package/dist/src/v2/test/e2e-setup.d.ts.map +1 -0
- package/dist/src/v2/test/test-helpers.d.ts +3 -0
- package/dist/src/v2/test/test-helpers.d.ts.map +1 -0
- package/dist/src/v2/test/test-setup.d.ts +8 -0
- package/dist/src/v2/test/test-setup.d.ts.map +1 -0
- package/dist/src/validators/questionnaire.validator.d.ts +2 -0
- package/dist/src/validators/questionnaire.validator.d.ts.map +1 -0
- package/dist/src/validators/user.validator.d.ts +6 -0
- package/dist/src/validators/user.validator.d.ts.map +1 -0
- package/dist/v1/perseed-api.cjs +1459 -0
- package/dist/v1/perseed-api.cjs.map +1 -0
- package/dist/v1/perseed-api.d.ts +1 -0
- package/dist/{perseed-api.mjs → v1/perseed-api.mjs} +347 -156
- package/dist/v1/perseed-api.mjs.map +1 -0
- package/package.json +36 -168
- package/dist/index.d.ts +0 -3073
- package/dist/perseed-api.umd.js +0 -1
- /package/dist/{schemas → src/schemas}/forms/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/forms/update.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/hospital/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/mfa/mfa-login-data.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/mobile/searchnotificationstatus.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/notification_configuration/create_trigger_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/notification_configuration/update_trigger_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/patient/createFullPatient.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/patient/createPatient.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/process_log/create_process_log_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/process_log/update_process_log_payload.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/project/createCategory.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/project/export.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/project/uploadDocument.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/query/patch.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/questionnaire/createQuestionnaire.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/subform/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/subform/update.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/user_settings/APP_FONT_FACTOR.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/user_settings/AUTH_SECURITY_CONFIG.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/user_settings/GenericBooleanSetting.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/activate.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/contact.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/create.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/password.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/selfregister.schema.json +0 -0
- /package/dist/{schemas → src/schemas}/users/unlinkProject.schema.json +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,3073 +0,0 @@
|
|
|
1
|
-
import { AjvValidator } from 'objection';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import { default as default_2 } from 'objection';
|
|
4
|
-
import { FastifyRequest } from 'fastify';
|
|
5
|
-
import { i18n } from 'i18next';
|
|
6
|
-
import { Knex } from 'knex';
|
|
7
|
-
import { Model } from 'objection';
|
|
8
|
-
import { NumberQueryBuilder } from 'objection';
|
|
9
|
-
import { QueryBuilder } from 'objection';
|
|
10
|
-
import { RelationType } from 'objection';
|
|
11
|
-
import { Request as Request_2 } from 'express';
|
|
12
|
-
import { TFunction } from 'i18next';
|
|
13
|
-
import { Transaction } from 'objection';
|
|
14
|
-
|
|
15
|
-
declare class AbstractDisplayer extends BaseModel {
|
|
16
|
-
reference?: SubformReference;
|
|
17
|
-
crf_name: string;
|
|
18
|
-
user_ip?: string;
|
|
19
|
-
creation_user?: number;
|
|
20
|
-
creation_time: string;
|
|
21
|
-
mod_user: number;
|
|
22
|
-
mod_time: string;
|
|
23
|
-
static get QueryBuilder(): typeof CustomQueryBuilder;
|
|
24
|
-
static get uidRefProp(): null;
|
|
25
|
-
static get dbRefProp(): null;
|
|
26
|
-
static getModel(ctx: RequestContext): typeof AbstractDisplayer;
|
|
27
|
-
getString(value: any): any;
|
|
28
|
-
getNumber(value: any): any;
|
|
29
|
-
$beforeDelete(queryContext: any): Promise<void>;
|
|
30
|
-
$afterInsert(queryContext: any): Promise<void>;
|
|
31
|
-
$afterUpdate(opt: any, queryContext: any): Promise<void>;
|
|
32
|
-
$afterSave(queryContext: any, inserting: any, old: any): Promise<any>;
|
|
33
|
-
toIdRefResponse(): IdRefForm;
|
|
34
|
-
getPatientId(): number;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export declare type AggFunction = 'avg' | 'count' | 'max' | 'min' | 'sum';
|
|
38
|
-
|
|
39
|
-
export declare const AI_PROCESSING_META_NAMES: string[];
|
|
40
|
-
|
|
41
|
-
export declare const ALL_SELECT_FIELD_TYPES: string[];
|
|
42
|
-
|
|
43
|
-
export declare const allCountries: (string | number | string[])[][];
|
|
44
|
-
|
|
45
|
-
export declare enum ApiAction {
|
|
46
|
-
QUESTIONNAIRE_CREATE = "questionnaire.create",
|
|
47
|
-
CRF_CREATE = "crf.create",
|
|
48
|
-
CRF_UPDATE = "crf.update",
|
|
49
|
-
CRF_DELETE = "crf.delete",
|
|
50
|
-
EXTERNAL_API_CALL = "external_api_call",
|
|
51
|
-
LOG_CREATE = "log.create",
|
|
52
|
-
BULK_UPLOAD_UPDATE = "bulk_upload.update",
|
|
53
|
-
INVOKE_LAMBDA = "invoke_lambda"
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export declare interface ApiActionContextData {
|
|
57
|
-
ctx?: RequestContext;
|
|
58
|
-
requestContextData?: RequestContextData;
|
|
59
|
-
current: Record<string, unknown>;
|
|
60
|
-
old?: Record<string, unknown> | null;
|
|
61
|
-
patient?: AbstractDisplayer;
|
|
62
|
-
projectId?: number;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* App font factor
|
|
67
|
-
*/
|
|
68
|
-
export declare type AppFontFactor = number;
|
|
69
|
-
|
|
70
|
-
export declare const AUDIT_FLAGS: {
|
|
71
|
-
added: string;
|
|
72
|
-
edited: string;
|
|
73
|
-
deleted: string;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Global authentication security definition
|
|
78
|
-
*/
|
|
79
|
-
export declare interface AuthenticationSecurityDefinition {
|
|
80
|
-
mfaMethods?: MFAMethod[];
|
|
81
|
-
required?: boolean;
|
|
82
|
-
default?: MFAMethodCode;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export declare type BaseApiServicePayload = {
|
|
86
|
-
ctx?: RequestContext;
|
|
87
|
-
patientId?: number;
|
|
88
|
-
} & Partial<ApiActionContextData>;
|
|
89
|
-
|
|
90
|
-
export declare type BaseDashboardWidget = BaseDashboardWidgetPayload & WidgetTypeProps;
|
|
91
|
-
|
|
92
|
-
export declare type BaseDashboardWidgetPayload<T extends DashboardWidgetType | undefined = undefined> = {
|
|
93
|
-
id?: number;
|
|
94
|
-
title: string;
|
|
95
|
-
description?: string;
|
|
96
|
-
type: T | DashboardWidgetType;
|
|
97
|
-
library: boolean;
|
|
98
|
-
config?: WidgetBlockConfig;
|
|
99
|
-
position?: number;
|
|
100
|
-
created_user: number;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
declare class BaseModel extends Model {
|
|
104
|
-
id: number;
|
|
105
|
-
static get modelPaths(): string[];
|
|
106
|
-
static createValidator(): AjvValidator;
|
|
107
|
-
$parseJson(json: any, _opt: any): any;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export declare enum BulkUploadStatus {
|
|
111
|
-
error = -1,
|
|
112
|
-
uploaded = 0,
|
|
113
|
-
success = 1
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
declare interface CacheOptions {
|
|
117
|
-
enabled: boolean;
|
|
118
|
-
requestDependent: boolean;
|
|
119
|
-
serializable: boolean;
|
|
120
|
-
ecosystemDependent: boolean;
|
|
121
|
-
projectDependent: boolean;
|
|
122
|
-
userDependent: boolean;
|
|
123
|
-
patientDependent: boolean;
|
|
124
|
-
tags: Record<string, any>;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export declare interface CalculatedColumn {
|
|
128
|
-
key: string;
|
|
129
|
-
label?: string;
|
|
130
|
-
template: string;
|
|
131
|
-
notVisible?: boolean;
|
|
132
|
-
type: ColumnType;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
declare class Clinic extends BaseModel {
|
|
136
|
-
name: string;
|
|
137
|
-
country: string;
|
|
138
|
-
city: string;
|
|
139
|
-
address: string;
|
|
140
|
-
contact: string;
|
|
141
|
-
owner_id: number | null;
|
|
142
|
-
location_data: string;
|
|
143
|
-
zip_code: string;
|
|
144
|
-
logo: string;
|
|
145
|
-
userClinic?: UserClinic[];
|
|
146
|
-
projectClinic?: ProjectClinic[];
|
|
147
|
-
creation_time: string | null;
|
|
148
|
-
mod_time: string | null;
|
|
149
|
-
creation_user: number | null;
|
|
150
|
-
mod_user: number | null;
|
|
151
|
-
static get tableName(): string;
|
|
152
|
-
static get jsonSchema(): {
|
|
153
|
-
type: string;
|
|
154
|
-
properties: {
|
|
155
|
-
id: {
|
|
156
|
-
type: string;
|
|
157
|
-
};
|
|
158
|
-
name: {
|
|
159
|
-
type: string;
|
|
160
|
-
maxLength: number;
|
|
161
|
-
};
|
|
162
|
-
country: {
|
|
163
|
-
type: string;
|
|
164
|
-
maxLength: number;
|
|
165
|
-
};
|
|
166
|
-
city: {
|
|
167
|
-
type: string;
|
|
168
|
-
maxLength: number;
|
|
169
|
-
};
|
|
170
|
-
address: {
|
|
171
|
-
type: string;
|
|
172
|
-
maxLength: number;
|
|
173
|
-
};
|
|
174
|
-
contact: {
|
|
175
|
-
type: string;
|
|
176
|
-
maxLength: number;
|
|
177
|
-
};
|
|
178
|
-
owner_id: {
|
|
179
|
-
oneOf: {
|
|
180
|
-
type: string;
|
|
181
|
-
}[];
|
|
182
|
-
};
|
|
183
|
-
location_data: {
|
|
184
|
-
type: string;
|
|
185
|
-
};
|
|
186
|
-
zip_code: {
|
|
187
|
-
type: string;
|
|
188
|
-
maxLength: number;
|
|
189
|
-
};
|
|
190
|
-
logo: {
|
|
191
|
-
type: string;
|
|
192
|
-
maxLength: number;
|
|
193
|
-
};
|
|
194
|
-
creation_time: {
|
|
195
|
-
type: string[];
|
|
196
|
-
format: string;
|
|
197
|
-
};
|
|
198
|
-
mod_time: {
|
|
199
|
-
type: string[];
|
|
200
|
-
format: string;
|
|
201
|
-
};
|
|
202
|
-
creation_user: {
|
|
203
|
-
type: string[];
|
|
204
|
-
};
|
|
205
|
-
mod_user: {
|
|
206
|
-
type: string[];
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
static get relationMappings(): {
|
|
211
|
-
userClinic: {
|
|
212
|
-
relation: default_2.RelationType;
|
|
213
|
-
modelClass: string;
|
|
214
|
-
join: {
|
|
215
|
-
from: string;
|
|
216
|
-
to: string;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
projectClinic: {
|
|
220
|
-
relation: default_2.RelationType;
|
|
221
|
-
modelClass: string;
|
|
222
|
-
join: {
|
|
223
|
-
from: string;
|
|
224
|
-
to: string;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
static getModel(ctx: NoUserRequestContext): typeof Clinic;
|
|
229
|
-
static getAll(ctx: RequestContext, valuesToSelect?: ClinicQuery['select'], whereStatement?: ClinicQuery['where']): Promise<ClinicQuery>;
|
|
230
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<Clinic>): Promise<number>;
|
|
231
|
-
static checkIfClinicExists(ctx: RequestContext, clinicId: number): Promise<boolean>;
|
|
232
|
-
static getClinicsMap(ctx: RequestContext): Promise<{}>;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
declare type ClinicQuery = default_2.QueryBuilder<Clinic, Clinic[]>;
|
|
236
|
-
|
|
237
|
-
export declare interface ColProps {
|
|
238
|
-
flex?: FlexType;
|
|
239
|
-
span?: ColSpanType;
|
|
240
|
-
order?: ColSpanType;
|
|
241
|
-
offset?: ColSpanType;
|
|
242
|
-
push?: ColSpanType;
|
|
243
|
-
pull?: ColSpanType;
|
|
244
|
-
xs?: ColSpanType | ColSize;
|
|
245
|
-
sm?: ColSpanType | ColSize;
|
|
246
|
-
md?: ColSpanType | ColSize;
|
|
247
|
-
lg?: ColSpanType | ColSize;
|
|
248
|
-
xl?: ColSpanType | ColSize;
|
|
249
|
-
xxl?: ColSpanType | ColSize;
|
|
250
|
-
prefixCls?: string;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export declare interface ColSize {
|
|
254
|
-
flex?: FlexType;
|
|
255
|
-
span?: ColSpanType;
|
|
256
|
-
order?: ColSpanType;
|
|
257
|
-
offset?: ColSpanType;
|
|
258
|
-
push?: ColSpanType;
|
|
259
|
-
pull?: ColSpanType;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export declare type ColSpanType = number | string;
|
|
263
|
-
|
|
264
|
-
export declare enum ColumnType {
|
|
265
|
-
TEXT = "text",
|
|
266
|
-
NUMBER = "number",
|
|
267
|
-
BOOLEAN = "boolean",
|
|
268
|
-
DATE = "date",
|
|
269
|
-
TIME = "time",
|
|
270
|
-
DATETIME = "datetime"
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
export declare interface ConditionExpression {
|
|
274
|
-
[field: string]: ConditionValue;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
export declare interface ConditionOperator {
|
|
278
|
-
AND?: Conditions[];
|
|
279
|
-
OR?: Conditions[];
|
|
280
|
-
NOT?: Conditions[];
|
|
281
|
-
JQ?: string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export declare type Conditions = ConditionExpression | ConditionOperator;
|
|
285
|
-
|
|
286
|
-
export declare enum ConditionsFormat {
|
|
287
|
-
JSON_LOGIC = "jsonLogic",
|
|
288
|
-
CUSTOM = "custom"
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Importing the types from json-logic-js makes the process of generating schema.json fails so we use any instead
|
|
293
|
-
*/
|
|
294
|
-
export declare type ConditionsRules = Conditions | any;
|
|
295
|
-
|
|
296
|
-
export declare interface ConditionValue {
|
|
297
|
-
equal?: string | number | boolean;
|
|
298
|
-
not_equal?: string | number | boolean;
|
|
299
|
-
contains?: string;
|
|
300
|
-
not_contains?: string;
|
|
301
|
-
greater_than?: string | number;
|
|
302
|
-
less_than?: string | number;
|
|
303
|
-
empty?: string | number | boolean;
|
|
304
|
-
not_empty?: string | number | boolean;
|
|
305
|
-
parseValue?: boolean;
|
|
306
|
-
operator?: 'AND' | 'OR';
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
declare class ConsentGeneral extends BaseModel {
|
|
310
|
-
name: string;
|
|
311
|
-
project_id: number;
|
|
312
|
-
clinic_id: number | null;
|
|
313
|
-
title: string;
|
|
314
|
-
subtitle: string;
|
|
315
|
-
consent_text_title: string;
|
|
316
|
-
consent_text: string;
|
|
317
|
-
timestamp: string;
|
|
318
|
-
group_meta: ConsentGroupMeta[];
|
|
319
|
-
static get tableName(): string;
|
|
320
|
-
static get jsonSchema(): {
|
|
321
|
-
type: string;
|
|
322
|
-
properties: {
|
|
323
|
-
id: {
|
|
324
|
-
type: string;
|
|
325
|
-
maxLength: number;
|
|
326
|
-
};
|
|
327
|
-
name: {
|
|
328
|
-
type: string;
|
|
329
|
-
maxLength: number;
|
|
330
|
-
};
|
|
331
|
-
project_id: {
|
|
332
|
-
type: string;
|
|
333
|
-
maxLength: number;
|
|
334
|
-
};
|
|
335
|
-
clinic_id: {
|
|
336
|
-
oneOf: {
|
|
337
|
-
type: string;
|
|
338
|
-
}[];
|
|
339
|
-
maxLength: number;
|
|
340
|
-
};
|
|
341
|
-
title: {
|
|
342
|
-
type: string;
|
|
343
|
-
};
|
|
344
|
-
subtitle: {
|
|
345
|
-
type: string;
|
|
346
|
-
};
|
|
347
|
-
consent_text_title: {
|
|
348
|
-
type: string;
|
|
349
|
-
};
|
|
350
|
-
consent_text: {
|
|
351
|
-
type: string;
|
|
352
|
-
};
|
|
353
|
-
timestamp: {
|
|
354
|
-
type: string;
|
|
355
|
-
format: string;
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
additionalProperties: boolean;
|
|
359
|
-
};
|
|
360
|
-
static get relationMappings(): {
|
|
361
|
-
group_meta: {
|
|
362
|
-
relation: RelationType;
|
|
363
|
-
modelClass: string;
|
|
364
|
-
join: {
|
|
365
|
-
from: string;
|
|
366
|
-
to: string;
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
orderConsent(): void;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
declare class ConsentGroupMeta extends BaseModel {
|
|
374
|
-
consent_general_id: number;
|
|
375
|
-
header: string;
|
|
376
|
-
footer: string;
|
|
377
|
-
order: number;
|
|
378
|
-
timestamp: string;
|
|
379
|
-
meta: ConsentMeta[];
|
|
380
|
-
static get tableName(): string;
|
|
381
|
-
static get jsonSchema(): {
|
|
382
|
-
type: string;
|
|
383
|
-
properties: {
|
|
384
|
-
id: {
|
|
385
|
-
type: string;
|
|
386
|
-
maxLength: number;
|
|
387
|
-
};
|
|
388
|
-
consent_general_id: {
|
|
389
|
-
type: string;
|
|
390
|
-
maxLength: number;
|
|
391
|
-
};
|
|
392
|
-
header: {
|
|
393
|
-
type: string;
|
|
394
|
-
};
|
|
395
|
-
footer: {
|
|
396
|
-
type: string;
|
|
397
|
-
};
|
|
398
|
-
order: {
|
|
399
|
-
type: string;
|
|
400
|
-
maxLength: number;
|
|
401
|
-
};
|
|
402
|
-
timestamp: {
|
|
403
|
-
type: string;
|
|
404
|
-
format: string;
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
additionalProperties: boolean;
|
|
408
|
-
};
|
|
409
|
-
static get relationMappings(): {
|
|
410
|
-
meta: {
|
|
411
|
-
relation: RelationType;
|
|
412
|
-
modelClass: string;
|
|
413
|
-
join: {
|
|
414
|
-
from: string;
|
|
415
|
-
to: string;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
declare class ConsentMeta extends BaseModel {
|
|
422
|
-
consent_group_meta_id: number;
|
|
423
|
-
specific_consent: string;
|
|
424
|
-
order: number;
|
|
425
|
-
required: number;
|
|
426
|
-
timestamp: string;
|
|
427
|
-
static get tableName(): string;
|
|
428
|
-
static get jsonSchema(): {
|
|
429
|
-
type: string;
|
|
430
|
-
properties: {
|
|
431
|
-
id: {
|
|
432
|
-
type: string;
|
|
433
|
-
maxLength: number;
|
|
434
|
-
};
|
|
435
|
-
consent_group_meta_id: {
|
|
436
|
-
type: string;
|
|
437
|
-
maxLength: number;
|
|
438
|
-
};
|
|
439
|
-
specific_consent: {
|
|
440
|
-
type: string;
|
|
441
|
-
};
|
|
442
|
-
order: {
|
|
443
|
-
type: string;
|
|
444
|
-
maxLength: number;
|
|
445
|
-
};
|
|
446
|
-
required: {
|
|
447
|
-
type: string;
|
|
448
|
-
maxLength: number;
|
|
449
|
-
};
|
|
450
|
-
timestamp: {
|
|
451
|
-
type: string;
|
|
452
|
-
format: string;
|
|
453
|
-
};
|
|
454
|
-
};
|
|
455
|
-
additionalProperties: boolean;
|
|
456
|
-
};
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
export declare const CORE: {
|
|
460
|
-
CREATION_TIME: string;
|
|
461
|
-
CREATION_USER: string;
|
|
462
|
-
CRF_NAME: string;
|
|
463
|
-
CRF_STATUS: string;
|
|
464
|
-
HOSPITAL: string;
|
|
465
|
-
HOSPITAL_STATUS: string;
|
|
466
|
-
ID: string;
|
|
467
|
-
LOCK_STATE: string;
|
|
468
|
-
LOCK_USER: string;
|
|
469
|
-
LOCK_DATE: string;
|
|
470
|
-
MODIFICATION_TIME: string;
|
|
471
|
-
MODIFICATION_USER: string;
|
|
472
|
-
PATIENT_ID: string;
|
|
473
|
-
PATIENT_NUMBER: string;
|
|
474
|
-
PATIENT_NUMBER_STATUS: string;
|
|
475
|
-
RECORD_ID: string;
|
|
476
|
-
SIGNATURE_DATE: string;
|
|
477
|
-
SIGNATURE_STATE: string;
|
|
478
|
-
SIGNATURE_USER: string;
|
|
479
|
-
STATUS: string;
|
|
480
|
-
USER_IP: string;
|
|
481
|
-
DATE_OF_QUESTIONNAIRE: string;
|
|
482
|
-
TIME_OF_QUESTIONNAIRE: string;
|
|
483
|
-
VERSION: string;
|
|
484
|
-
REFERENCE: string;
|
|
485
|
-
SUBFORM_ID: string;
|
|
486
|
-
};
|
|
487
|
-
|
|
488
|
-
export declare const CountryPhoneCodes: {};
|
|
489
|
-
|
|
490
|
-
export declare type CreateDashboardWidgetPayload = DashboardBaseWidgetPayload & WidgetTypeProps;
|
|
491
|
-
|
|
492
|
-
export declare interface CreateFormPayload extends BaseApiServicePayload {
|
|
493
|
-
formName: string;
|
|
494
|
-
patientId: number;
|
|
495
|
-
fullBody: any;
|
|
496
|
-
method?: string;
|
|
497
|
-
token?: string;
|
|
498
|
-
qInfoId?: number;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
export declare interface CreateProcessLogPayload {
|
|
502
|
-
relatedModel?: string;
|
|
503
|
-
relatedId?: string;
|
|
504
|
-
code?: ProcessLogCode;
|
|
505
|
-
log: string;
|
|
506
|
-
longLog?: string;
|
|
507
|
-
extraData?: Record<string, any>;
|
|
508
|
-
type: ProcessLogType;
|
|
509
|
-
requiresAttention?: boolean;
|
|
510
|
-
reviewed?: boolean;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
export declare interface CreateQuestionnairePayload {
|
|
514
|
-
patientId?: number;
|
|
515
|
-
type: 'unique' | 'periodic';
|
|
516
|
-
date: string;
|
|
517
|
-
untilDate?: string;
|
|
518
|
-
formName: string;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
export declare interface CreateTriggerPayload {
|
|
522
|
-
notified_about: NotifiedAboutType;
|
|
523
|
-
text_content?: string;
|
|
524
|
-
configuration?: NotificationConfigurationConf;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
declare class CustomQueryBuilder<M extends Model = Model, R = M[]> extends QueryBuilder<M, R> {
|
|
528
|
-
delete(): this;
|
|
529
|
-
nativeDelete(): NumberQueryBuilder<this>;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export declare type DashboardBaseWidgetPayload = {
|
|
533
|
-
title: string;
|
|
534
|
-
description?: string | null;
|
|
535
|
-
weight?: number;
|
|
536
|
-
size?: number | ColProps;
|
|
537
|
-
library?: boolean;
|
|
538
|
-
widgetsBlocks?: DashboardWidgetBlockCreatePayload[];
|
|
539
|
-
};
|
|
540
|
-
|
|
541
|
-
export declare type DashboardChildrenWidget<T extends DashboardWidgetType | undefined = undefined> = DashboardBaseWidgetPayload & BaseDashboardWidgetPayload<T> & {
|
|
542
|
-
id: number;
|
|
543
|
-
type: DashboardWidgetType;
|
|
544
|
-
params: GenericParams;
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
export declare interface DashboardProps {
|
|
548
|
-
active?: boolean;
|
|
549
|
-
config?: any;
|
|
550
|
-
icon?: string | null;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export declare type DashboardWidget<T extends DashboardWidgetType | undefined = undefined> = T extends DashboardWidgetType ? {
|
|
554
|
-
id: number;
|
|
555
|
-
widgets?: DashboardChildrenWidget[];
|
|
556
|
-
} & DashboardWidgetTypeToParams[T] & BaseDashboardWidgetPayload<T> : {
|
|
557
|
-
id: number;
|
|
558
|
-
params: any;
|
|
559
|
-
widgets?: DashboardChildrenWidget[];
|
|
560
|
-
} & BaseDashboardWidgetPayload<T>;
|
|
561
|
-
|
|
562
|
-
export declare type DashboardWidgetBlockCreatePayload = {
|
|
563
|
-
parent_id: number | string;
|
|
564
|
-
child_id: number;
|
|
565
|
-
position: number;
|
|
566
|
-
config?: WidgetBlockConfig | null;
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
export declare type DashboardWidgetDataLoader<T> = T extends {
|
|
570
|
-
type: infer Type;
|
|
571
|
-
params: infer Params;
|
|
572
|
-
} ? {
|
|
573
|
-
type: Type;
|
|
574
|
-
params: Params;
|
|
575
|
-
} : never;
|
|
576
|
-
|
|
577
|
-
export declare enum DashboardWidgetType {
|
|
578
|
-
VALUECARD = "ValueCard",
|
|
579
|
-
SECTIONCARD = "SectionCard",
|
|
580
|
-
PATIENTLIST = "PatientList",
|
|
581
|
-
DASHBOARD = "Dashboard",
|
|
582
|
-
QUESTIONNAIRE_LOG = "QuestionnaireLog",
|
|
583
|
-
PATIENTS_PROGRAMS = "PatientsPrograms",
|
|
584
|
-
PATIENTS = "Patients",
|
|
585
|
-
ADHERENCE_SUMMARY = "AdherenceSummary",
|
|
586
|
-
FORM_LIST = "FormList"
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
export declare type DashboardWidgetTypeToParams = {
|
|
590
|
-
[DashboardWidgetType.SECTIONCARD]: {
|
|
591
|
-
params: SectionCardProps;
|
|
592
|
-
};
|
|
593
|
-
[DashboardWidgetType.VALUECARD]: {
|
|
594
|
-
params: ValueCardProps;
|
|
595
|
-
};
|
|
596
|
-
[DashboardWidgetType.PATIENTLIST]: {
|
|
597
|
-
params: PatientListProps;
|
|
598
|
-
};
|
|
599
|
-
[DashboardWidgetType.DASHBOARD]: {
|
|
600
|
-
params: DashboardProps;
|
|
601
|
-
};
|
|
602
|
-
[DashboardWidgetType.QUESTIONNAIRE_LOG]: {
|
|
603
|
-
params: EmptyProps;
|
|
604
|
-
};
|
|
605
|
-
[DashboardWidgetType.PATIENTS_PROGRAMS]: {
|
|
606
|
-
params: EmptyProps;
|
|
607
|
-
};
|
|
608
|
-
[DashboardWidgetType.PATIENTS]: {
|
|
609
|
-
params: EmptyProps;
|
|
610
|
-
};
|
|
611
|
-
[DashboardWidgetType.ADHERENCE_SUMMARY]: {
|
|
612
|
-
params: EmptyProps;
|
|
613
|
-
};
|
|
614
|
-
[DashboardWidgetType.FORM_LIST]: {
|
|
615
|
-
params: FormListProps;
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
export declare enum DataLoaderType {
|
|
620
|
-
OUTCOMES = "outcomes"
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export declare const DATE_FORMAT = "YYYY-MM-DD";
|
|
624
|
-
|
|
625
|
-
export declare const DATE_TYPE: string[];
|
|
626
|
-
|
|
627
|
-
export declare const DATETIME_SHORT_FORMAT = "YYYY-MM-DD HH:mm";
|
|
628
|
-
|
|
629
|
-
export declare const DEFAULT_CONFIGURATION_PATIENT_LIST: {
|
|
630
|
-
id: string;
|
|
631
|
-
name: string;
|
|
632
|
-
type: string;
|
|
633
|
-
label: string;
|
|
634
|
-
required: string;
|
|
635
|
-
crf_name: string;
|
|
636
|
-
status: string;
|
|
637
|
-
}[];
|
|
638
|
-
|
|
639
|
-
export declare interface DeleteFormPayload extends BaseApiServicePayload {
|
|
640
|
-
formId: number;
|
|
641
|
-
formName: string;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
export declare type DesignerFieldOption = {
|
|
645
|
-
label: string;
|
|
646
|
-
value: number;
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
export declare interface DesignerFieldResponse {
|
|
650
|
-
id?: number;
|
|
651
|
-
name: string;
|
|
652
|
-
label: string;
|
|
653
|
-
type: string;
|
|
654
|
-
base_type: FieldNameValue;
|
|
655
|
-
required: boolean;
|
|
656
|
-
order: number;
|
|
657
|
-
hidden: boolean;
|
|
658
|
-
dependencies: unknown;
|
|
659
|
-
fields?: DesignerFieldResponse[];
|
|
660
|
-
value?: string;
|
|
661
|
-
options?: DesignerFieldOption[];
|
|
662
|
-
help?: string;
|
|
663
|
-
lang?: string;
|
|
664
|
-
encrypted?: boolean;
|
|
665
|
-
encrypted_level?: boolean;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
export declare const DYNAMIC_FILE_VALID_FORMATS: {
|
|
669
|
-
1: string[];
|
|
670
|
-
2: string[];
|
|
671
|
-
3: string[];
|
|
672
|
-
4: string[];
|
|
673
|
-
5: string[];
|
|
674
|
-
};
|
|
675
|
-
|
|
676
|
-
declare type EcosystemUsers = {
|
|
677
|
-
ecosystem: string;
|
|
678
|
-
id: number;
|
|
679
|
-
password: string;
|
|
680
|
-
username: string;
|
|
681
|
-
email: string;
|
|
682
|
-
loginId: string;
|
|
683
|
-
displayName: string;
|
|
684
|
-
label: string;
|
|
685
|
-
type: string;
|
|
686
|
-
tz: string;
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
export declare type EmptyProps = Record<string, never>;
|
|
690
|
-
|
|
691
|
-
export declare const EXCLUDE_FIELDS: string[];
|
|
692
|
-
|
|
693
|
-
export declare const Exporter: {
|
|
694
|
-
PENDING: string;
|
|
695
|
-
ERROR: string;
|
|
696
|
-
SUCCESS: string;
|
|
697
|
-
AVAILABLE_FORMATS: {
|
|
698
|
-
xls: number;
|
|
699
|
-
csv: number;
|
|
700
|
-
spss: number;
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
|
|
704
|
-
declare class ExternalDisplayerCrf extends BaseModel {
|
|
705
|
-
crf_name: string;
|
|
706
|
-
patient_id: number;
|
|
707
|
-
external_form_id: number;
|
|
708
|
-
external_project_id: number;
|
|
709
|
-
static get tableName(): string;
|
|
710
|
-
static get jsonSchema(): {
|
|
711
|
-
type: string;
|
|
712
|
-
properties: {
|
|
713
|
-
id: {
|
|
714
|
-
type: string;
|
|
715
|
-
maxLength: number;
|
|
716
|
-
};
|
|
717
|
-
crf_name: {
|
|
718
|
-
type: string;
|
|
719
|
-
maxLength: number;
|
|
720
|
-
};
|
|
721
|
-
patient_id: {
|
|
722
|
-
type: string;
|
|
723
|
-
maxLength: number;
|
|
724
|
-
};
|
|
725
|
-
external_form_id: {
|
|
726
|
-
type: string;
|
|
727
|
-
maxLength: number;
|
|
728
|
-
};
|
|
729
|
-
external_project_id: {
|
|
730
|
-
type: string;
|
|
731
|
-
maxLength: number;
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
additionalProperties: boolean;
|
|
735
|
-
};
|
|
736
|
-
static getModelByPool(projectPool: default_2.TransactionOrKnex): typeof ExternalDisplayerCrf;
|
|
737
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<ExternalDisplayerCrf>): Promise<number>;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
declare class ExternalPatientProject extends BaseModel {
|
|
741
|
-
project_id: number;
|
|
742
|
-
patient_id: number;
|
|
743
|
-
external_project_id?: number;
|
|
744
|
-
external_patient_id?: number;
|
|
745
|
-
projectCrfs: ExternalDisplayerCrf[];
|
|
746
|
-
projectFields: ExternalProjectFields;
|
|
747
|
-
static get tableName(): string;
|
|
748
|
-
static get jsonSchema(): {
|
|
749
|
-
type: string;
|
|
750
|
-
properties: {
|
|
751
|
-
project_id: {
|
|
752
|
-
type: string;
|
|
753
|
-
maxLength: number;
|
|
754
|
-
};
|
|
755
|
-
patient_id: {
|
|
756
|
-
type: string;
|
|
757
|
-
maxLength: number;
|
|
758
|
-
};
|
|
759
|
-
external_project_id: {
|
|
760
|
-
oneOf: {
|
|
761
|
-
type: string;
|
|
762
|
-
}[];
|
|
763
|
-
default: null;
|
|
764
|
-
maxLength: number;
|
|
765
|
-
};
|
|
766
|
-
external_patient_id: {
|
|
767
|
-
oneOf: {
|
|
768
|
-
type: string;
|
|
769
|
-
}[];
|
|
770
|
-
default: null;
|
|
771
|
-
maxLength: number;
|
|
772
|
-
};
|
|
773
|
-
};
|
|
774
|
-
additionalProperties: boolean;
|
|
775
|
-
};
|
|
776
|
-
static get relationMappings(): {
|
|
777
|
-
projectFields: {
|
|
778
|
-
relation: default_2.RelationType;
|
|
779
|
-
modelClass: string;
|
|
780
|
-
join: {
|
|
781
|
-
from: string;
|
|
782
|
-
to: string;
|
|
783
|
-
};
|
|
784
|
-
};
|
|
785
|
-
projectCrfs: {
|
|
786
|
-
relation: default_2.RelationType;
|
|
787
|
-
modelClass: string;
|
|
788
|
-
join: {
|
|
789
|
-
from: string;
|
|
790
|
-
to: string;
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
};
|
|
794
|
-
static getModelByPool(projectPool: default_2.TransactionOrKnex): typeof ExternalPatientProject;
|
|
795
|
-
static getExternalValues(projectPool: default_2.TransactionOrKnex, projectId: number, patientId: number): Promise<ExternalPatientProject[]>;
|
|
796
|
-
getExternalFormId(formName: string, formId: number): number | null;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
declare class ExternalProjectFields extends BaseModel {
|
|
800
|
-
project_id: number;
|
|
801
|
-
fields: string;
|
|
802
|
-
static get tableName(): string;
|
|
803
|
-
static get jsonSchema(): {
|
|
804
|
-
type: string;
|
|
805
|
-
properties: {
|
|
806
|
-
id: {
|
|
807
|
-
type: string;
|
|
808
|
-
maxLength: number;
|
|
809
|
-
};
|
|
810
|
-
project_id: {
|
|
811
|
-
type: string;
|
|
812
|
-
maxLength: number;
|
|
813
|
-
};
|
|
814
|
-
fields: {
|
|
815
|
-
type: string;
|
|
816
|
-
};
|
|
817
|
-
};
|
|
818
|
-
additionalProperties: boolean;
|
|
819
|
-
};
|
|
820
|
-
static getModel(projectPool: default_2.TransactionOrKnex): typeof ExternalProjectFields;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
export declare const FIELD_NAMES: {
|
|
824
|
-
DECIMAL_NAME: string;
|
|
825
|
-
INTEGER_NAME: string;
|
|
826
|
-
MULTIPLE_SELECTION_NAME: string;
|
|
827
|
-
SELECTION_NAME: string;
|
|
828
|
-
DYNAMIC_SELECTION_NAME: string;
|
|
829
|
-
DATE_NAME: string;
|
|
830
|
-
HEADER_NAME: string;
|
|
831
|
-
SUBHEADER_NAME: string;
|
|
832
|
-
WARNING_NAME: string;
|
|
833
|
-
SUBFORM_NAME: string;
|
|
834
|
-
MEMO_NAME: string;
|
|
835
|
-
TEXT_NAME: string;
|
|
836
|
-
TEXT_AREA_NAME: string;
|
|
837
|
-
YES_NO_NAME: string;
|
|
838
|
-
TIME_NAME: string;
|
|
839
|
-
LINK_HREF_NAME: string;
|
|
840
|
-
COUNTRY_NAME: string;
|
|
841
|
-
HOSPITAL_NAME: string;
|
|
842
|
-
USERS_NAME: string;
|
|
843
|
-
DYNAMIC_FILE_NAME: string;
|
|
844
|
-
DYNAMIC_LINK_HREF_NAME: string;
|
|
845
|
-
SCAN_CODE_NAME: string;
|
|
846
|
-
PARAGRAPH_NAME: string;
|
|
847
|
-
FILE_NAME: string;
|
|
848
|
-
};
|
|
849
|
-
|
|
850
|
-
export declare const FIELD_NAMES_MAP: () => {};
|
|
851
|
-
|
|
852
|
-
export declare const FIELD_STATUS: {
|
|
853
|
-
filled: string;
|
|
854
|
-
unk: string;
|
|
855
|
-
na: string;
|
|
856
|
-
nd: string;
|
|
857
|
-
};
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* @deprecated Use STATUS_SUFFIX instead
|
|
861
|
-
* @type {string}
|
|
862
|
-
*/
|
|
863
|
-
export declare const FIELD_SUFFIX = "_status";
|
|
864
|
-
|
|
865
|
-
export declare type FieldNameKey = keyof typeof FIELD_NAMES;
|
|
866
|
-
|
|
867
|
-
export declare type FieldNameValue = typeof FIELD_NAMES[FieldNameKey];
|
|
868
|
-
|
|
869
|
-
export declare const FIELDS: {
|
|
870
|
-
DECIMAL: number;
|
|
871
|
-
INTEGER: number;
|
|
872
|
-
MULTIPLE_SELECTION: number;
|
|
873
|
-
SELECTION: number;
|
|
874
|
-
DYNAMIC_SELECTION: number;
|
|
875
|
-
DATE: number;
|
|
876
|
-
HEADER: number;
|
|
877
|
-
SUBHEADER: number;
|
|
878
|
-
WARNING: number;
|
|
879
|
-
SUBFORM: number;
|
|
880
|
-
MEMO: number;
|
|
881
|
-
TEXT: number;
|
|
882
|
-
TEXT_AREA: number;
|
|
883
|
-
YES_NO: number;
|
|
884
|
-
TIME: number;
|
|
885
|
-
LINK_HREF: number;
|
|
886
|
-
COUNTRY: number;
|
|
887
|
-
HOSPITAL: number;
|
|
888
|
-
USERS: number;
|
|
889
|
-
DYNAMIC_FILE: number;
|
|
890
|
-
DYNAMIC_LINK_HREF: number;
|
|
891
|
-
SCAN_CODE: number;
|
|
892
|
-
PARAGRAPH: number;
|
|
893
|
-
FILE: number;
|
|
894
|
-
};
|
|
895
|
-
|
|
896
|
-
export declare interface FilterParams {
|
|
897
|
-
conditions?: Record<string, unknown>;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
export declare type FlexType = number | 'none' | 'auto' | string;
|
|
901
|
-
|
|
902
|
-
export declare const FORM_NAMES: {
|
|
903
|
-
PATIENT: string;
|
|
904
|
-
SEPARATOR: string;
|
|
905
|
-
};
|
|
906
|
-
|
|
907
|
-
export declare const FORM_SUFFIX: {
|
|
908
|
-
AUDIT: string;
|
|
909
|
-
};
|
|
910
|
-
|
|
911
|
-
export declare enum FORM_TYPES {
|
|
912
|
-
STATIC = 0,// Used in perseed-js for static defined forms
|
|
913
|
-
STANDARD = 1,
|
|
914
|
-
FOLLOW_UP = 2,
|
|
915
|
-
ADVERSE_EVENT = 3,
|
|
916
|
-
QUESTIONNAIRE = 5,
|
|
917
|
-
STUDY = 6
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
export declare interface FormListProps {
|
|
921
|
-
fields?: string[];
|
|
922
|
-
filter?: FilterParams;
|
|
923
|
-
relatedData?: RelatedDataParams;
|
|
924
|
-
calculatedColumns?: CalculatedColumn[];
|
|
925
|
-
columns?: PatientListColumn[];
|
|
926
|
-
appearance?: PatientListAppearance;
|
|
927
|
-
mainForm: string;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
export declare const FORMS_VIEW = "forms";
|
|
931
|
-
|
|
932
|
-
export declare type GenericBooleanSetting = boolean;
|
|
933
|
-
|
|
934
|
-
export declare interface GenericDashboardWidgetDataLoader {
|
|
935
|
-
type: DataLoaderType;
|
|
936
|
-
params: Record<string, any>;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
export declare type GenericParams = SectionCardProps | ValueCardProps | PatientListProps | DashboardProps;
|
|
940
|
-
|
|
941
|
-
export declare const HISTORY: {
|
|
942
|
-
PERMANENT: string;
|
|
943
|
-
TEMPORARY: string;
|
|
944
|
-
};
|
|
945
|
-
|
|
946
|
-
export declare const HISTORY_TYPE_OPTIONS: {
|
|
947
|
-
'0': string;
|
|
948
|
-
'1': string;
|
|
949
|
-
};
|
|
950
|
-
|
|
951
|
-
export declare const HISTORY_VIEW = "history";
|
|
952
|
-
|
|
953
|
-
export declare const HREF_TYPE: {
|
|
954
|
-
NEW_WINDOW: string;
|
|
955
|
-
EMBEDDED_HTML: string;
|
|
956
|
-
};
|
|
957
|
-
|
|
958
|
-
declare interface I18nTextLocales {
|
|
959
|
-
default: string;
|
|
960
|
-
[locale: string]: string;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
declare type I18nTextTranslation = I18nTextLocales | string;
|
|
964
|
-
|
|
965
|
-
export declare enum IconPosition {
|
|
966
|
-
UP = "up",
|
|
967
|
-
DOWN = "down",
|
|
968
|
-
LEFT = "left",
|
|
969
|
-
RIGHT = "right"
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
export declare interface IconPresentationWidgetFields {
|
|
973
|
-
icon: string;
|
|
974
|
-
iconColor?: string;
|
|
975
|
-
bgColor?: string;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
export declare type IconPresentationWidgetProps = PresentationWidgetWithConditionalProps<IconPresentationWidgetFields>;
|
|
979
|
-
|
|
980
|
-
export declare interface IconTextPresentationWidgetFields {
|
|
981
|
-
template?: string;
|
|
982
|
-
textColor?: string;
|
|
983
|
-
icon: string;
|
|
984
|
-
iconColor?: string;
|
|
985
|
-
iconPosition: IconPosition;
|
|
986
|
-
bgColor?: string;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
export declare type IconTextPresentationWidgetProps = PresentationWidgetWithConditionalProps<IconTextPresentationWidgetFields>;
|
|
990
|
-
|
|
991
|
-
declare interface IdRefForm {
|
|
992
|
-
syncId?: number;
|
|
993
|
-
id: number;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
export declare interface IntrospectionField {
|
|
997
|
-
name: string;
|
|
998
|
-
type: IntrospectionSchemaFieldType;
|
|
999
|
-
options?: {
|
|
1000
|
-
value: string | number;
|
|
1001
|
-
title: string;
|
|
1002
|
-
}[];
|
|
1003
|
-
label: string;
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
export declare interface IntrospectionOption {
|
|
1007
|
-
value: string;
|
|
1008
|
-
label: string;
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
export declare interface IntrospectionSchema {
|
|
1012
|
-
models: Record<string, IntrospectionSchemaModel>;
|
|
1013
|
-
externalApis?: {
|
|
1014
|
-
value: string;
|
|
1015
|
-
label: string;
|
|
1016
|
-
methods?: string | string[];
|
|
1017
|
-
}[];
|
|
1018
|
-
lambdas?: {
|
|
1019
|
-
value: string;
|
|
1020
|
-
label: string;
|
|
1021
|
-
}[];
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
export declare enum IntrospectionSchemaFieldType {
|
|
1025
|
-
TEXT = "text",
|
|
1026
|
-
DATE = "date",
|
|
1027
|
-
TIME = "time",
|
|
1028
|
-
BOOLEAN = "boolean",
|
|
1029
|
-
NUMBER = "number",
|
|
1030
|
-
SELECT = "select",
|
|
1031
|
-
MULTISELECT = "multiselect",
|
|
1032
|
-
HIDDEN = "hidden"
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
export declare interface IntrospectionSchemaModel {
|
|
1036
|
-
label: string;
|
|
1037
|
-
fields: IntrospectionField[];
|
|
1038
|
-
relations?: IntrospectionOption[];
|
|
1039
|
-
canJoinPatient?: boolean;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
export declare const isNotStatusField: (fieldName: any) => boolean;
|
|
1043
|
-
|
|
1044
|
-
export declare const LANG_CODES: string[];
|
|
1045
|
-
|
|
1046
|
-
export declare interface LoadPatientDataType {
|
|
1047
|
-
join?: string[];
|
|
1048
|
-
where: Record<string, string> | 'auto';
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
export declare const LOCALE_LANG_CODES: string[];
|
|
1052
|
-
|
|
1053
|
-
export declare const META_NAMES: {
|
|
1054
|
-
DEPENDENT_SOURCE: string;
|
|
1055
|
-
ENCRYPTED: string;
|
|
1056
|
-
ENCRYPTED_LEVEL: string;
|
|
1057
|
-
EXTERNAL_SHARING: string;
|
|
1058
|
-
SHOW_EMBEDDED_PDF: string;
|
|
1059
|
-
HIDDEN: string;
|
|
1060
|
-
IS_CRF_MAIN_FIELD: string;
|
|
1061
|
-
MIN_VALUE: string;
|
|
1062
|
-
MIN_VALUE_VALIDATION: string;
|
|
1063
|
-
MAX_VALUE: string;
|
|
1064
|
-
MAX_VALUE_VALIDATION: string;
|
|
1065
|
-
NEXT_FORM: string;
|
|
1066
|
-
MULTIPLE: string;
|
|
1067
|
-
ORDER: string;
|
|
1068
|
-
READ_ONLY: string;
|
|
1069
|
-
REQUIRED: string;
|
|
1070
|
-
REQUIRED_TYPE: string;
|
|
1071
|
-
SELECTION_VALUE: string;
|
|
1072
|
-
SELECTION_VALUE_SLIDER: string;
|
|
1073
|
-
SOURCE_FIELD: string;
|
|
1074
|
-
TYPE: string;
|
|
1075
|
-
TYPE_QUESTIONARY: string;
|
|
1076
|
-
QUESTION_DAYS: string;
|
|
1077
|
-
QUESTION_TIME: string;
|
|
1078
|
-
QUESTION_HOURS: string;
|
|
1079
|
-
QUESTION_MINUTES: string;
|
|
1080
|
-
REMINDER_DAYS: string;
|
|
1081
|
-
REMINDER_HOURS: string;
|
|
1082
|
-
REMINDER_MINUTES: string;
|
|
1083
|
-
REMINDER_SUBJECT: string;
|
|
1084
|
-
REMINDER_MESSAGE: string;
|
|
1085
|
-
MAX_NUMBER_REMINDER: string;
|
|
1086
|
-
NUMBER_QUESTION_PAGE: string;
|
|
1087
|
-
UNTIL: string;
|
|
1088
|
-
NUMBER_OF_QUESTIONAIRES: string;
|
|
1089
|
-
QUESTION_COMMENTS: string;
|
|
1090
|
-
TYPE_OF_QUESTIONNAIRE: string;
|
|
1091
|
-
HISTORY_OF_QUESTIONNAIRE: string;
|
|
1092
|
-
HISTORY: string;
|
|
1093
|
-
CRF_HISTORY: string;
|
|
1094
|
-
PROCEDURE_CONDITION: string;
|
|
1095
|
-
HREF_VALUE: string;
|
|
1096
|
-
HREF_TYPE: string;
|
|
1097
|
-
SIZE: string;
|
|
1098
|
-
FILE_TYPE: string;
|
|
1099
|
-
INPUT_TYPE: string;
|
|
1100
|
-
PARAGRAPH_CONTENT: string;
|
|
1101
|
-
FILE_VALUE: string;
|
|
1102
|
-
WINDOW_REFERENCE: string;
|
|
1103
|
-
START_DATE_DAYS: string;
|
|
1104
|
-
HAS_DEFAULT_VALUE: string;
|
|
1105
|
-
SPECIFIC_VALUE: string;
|
|
1106
|
-
DEFAULT_VALUE: string;
|
|
1107
|
-
UNIQUE: string;
|
|
1108
|
-
HELP: string;
|
|
1109
|
-
SELECTOR_TYPE: string;
|
|
1110
|
-
SLIDER_SELECTOR: string;
|
|
1111
|
-
SLIDER_SCALE_ORIENTATION: string;
|
|
1112
|
-
UNTIL_DATE: string;
|
|
1113
|
-
PAGE_BREAK: string;
|
|
1114
|
-
WINDOW_BEFORE: string;
|
|
1115
|
-
WINDOW_AFTER: string;
|
|
1116
|
-
WINDOW_PERIOD: string;
|
|
1117
|
-
AI_PROCESSING_CONTEXT: string;
|
|
1118
|
-
AI_EXTRACTION_RELATED_FIELD: string;
|
|
1119
|
-
AI_EXTRACTION_CONTEXT: string;
|
|
1120
|
-
AI_ANONYMIZATION_NEEDED: string;
|
|
1121
|
-
PROCESSING_FILE: string;
|
|
1122
|
-
PROCESSING_FILE_ORIGINAL: string;
|
|
1123
|
-
PROCESSING_FILE_DELETE_ORIGINAL_ON_FINISH: string;
|
|
1124
|
-
PROC_ANONYMIZE: string;
|
|
1125
|
-
PROC_EXTRACTION: string;
|
|
1126
|
-
};
|
|
1127
|
-
|
|
1128
|
-
export declare const META_RESTRICTION: {
|
|
1129
|
-
STRICT: string;
|
|
1130
|
-
FLEXIBLE: string;
|
|
1131
|
-
};
|
|
1132
|
-
|
|
1133
|
-
export declare const META_STATUS: {
|
|
1134
|
-
ACTIVE: string;
|
|
1135
|
-
};
|
|
1136
|
-
|
|
1137
|
-
export declare interface MFALoginData {
|
|
1138
|
-
type: MFAMethodCode;
|
|
1139
|
-
value: string;
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* MFA method definition and configuration
|
|
1144
|
-
*/
|
|
1145
|
-
export declare interface MFAMethod {
|
|
1146
|
-
code: MFAMethodCode;
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* Available MFA methods
|
|
1151
|
-
*/
|
|
1152
|
-
export declare type MFAMethodCode = 'sms' | 'email';
|
|
1153
|
-
|
|
1154
|
-
export declare const MINIMIAL_TIMEZONE_LIST: string[];
|
|
1155
|
-
|
|
1156
|
-
export declare type ModelName = string;
|
|
1157
|
-
|
|
1158
|
-
export declare const MULTIPLE_SELECT_FIELD_TYPES: string[];
|
|
1159
|
-
|
|
1160
|
-
export declare const MULTIPLE_SELECTION_SEPARATOR = "~";
|
|
1161
|
-
|
|
1162
|
-
export declare const MYSQL_DATE_FORMAT = "YYYY-MM-DD";
|
|
1163
|
-
|
|
1164
|
-
export declare const MYSQL_DATETIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
|
1165
|
-
|
|
1166
|
-
export declare const NO_FILL_STATUS: string[];
|
|
1167
|
-
|
|
1168
|
-
export declare interface NotificationConfigurationConf {
|
|
1169
|
-
conditions?: ConditionsRules;
|
|
1170
|
-
join?: string[];
|
|
1171
|
-
load_patient?: LoadPatientDataType;
|
|
1172
|
-
action?: ApiAction;
|
|
1173
|
-
conditionsFormat?: ConditionsFormat;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
export declare const NOTIFIED_TYPES: {
|
|
1177
|
-
EMAIL: number;
|
|
1178
|
-
MOBILE: number;
|
|
1179
|
-
PLATFORM: number;
|
|
1180
|
-
SMS: number;
|
|
1181
|
-
HL7: number;
|
|
1182
|
-
ALL: string[];
|
|
1183
|
-
};
|
|
1184
|
-
|
|
1185
|
-
export declare class NotifiedAboutInfo {
|
|
1186
|
-
notified_about: string;
|
|
1187
|
-
constructor(notifiedAbout: string);
|
|
1188
|
-
crfName(): string | null;
|
|
1189
|
-
actionTrigger(): TriggerAction | null;
|
|
1190
|
-
isCrfTrigger(): boolean;
|
|
1191
|
-
isModelTrigger(): boolean;
|
|
1192
|
-
isDisplayerTrigger(): boolean;
|
|
1193
|
-
isFieldTrigger(): boolean;
|
|
1194
|
-
getModelName(): string | undefined;
|
|
1195
|
-
getModelTriggerAction(): string | null;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
export declare type NotifiedAboutType = `model_${ModelName}` | `model_displayer_${ModelName}` | `model_${ModelName}_${TriggerAction}` | `model_displayer_${ModelName}_${TriggerAction}`;
|
|
1199
|
-
|
|
1200
|
-
declare type NoUserRequestContext = Omit<RequestContext, 'userId' | 'patientId' | 'ip' | 'user' | 'userLanguage' | 'coreProfiling' | 'userRole' | 'loginId' | 'getUserId' | 'getUser'>;
|
|
1201
|
-
|
|
1202
|
-
export declare const NUMBER_TYPE: string[];
|
|
1203
|
-
|
|
1204
|
-
export declare const NUMERIC_FIELD_TYPES: string[];
|
|
1205
|
-
|
|
1206
|
-
export declare const OBJECT_TYPE: string[];
|
|
1207
|
-
|
|
1208
|
-
declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
1209
|
-
|
|
1210
|
-
export declare interface Order {
|
|
1211
|
-
order: OrderType;
|
|
1212
|
-
orderBy: string;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
export declare type OrderDir = 'asc' | 'desc';
|
|
1216
|
-
|
|
1217
|
-
export declare enum OrderType {
|
|
1218
|
-
ASC = "asc",
|
|
1219
|
-
DESC = "desc"
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
export declare type Outcome = OutcomeDateGroup & {
|
|
1223
|
-
name: string;
|
|
1224
|
-
identifier: string;
|
|
1225
|
-
from: string;
|
|
1226
|
-
to: string;
|
|
1227
|
-
value: number;
|
|
1228
|
-
};
|
|
1229
|
-
|
|
1230
|
-
export declare type OutcomeDateField = `${OutcomesDateFields}.${OutcomesDateFunctions}`;
|
|
1231
|
-
|
|
1232
|
-
export declare interface OutcomeDateGroup {
|
|
1233
|
-
[dateGroup: string]: string;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
export declare type OutcomesDateFields = 'from' | 'to';
|
|
1237
|
-
|
|
1238
|
-
export declare type OutcomesDateFunctions = 'date' | 'day' | 'dayname' | 'dayofmonth' | 'dayofweek' | 'dayofyear' | 'hour' | 'minute' | 'month' | 'monthname' | 'time' | 'second' | 'week' | 'weekday' | 'weekofyear' | 'year' | 'yearweek';
|
|
1239
|
-
|
|
1240
|
-
export declare type OutcomesGroupBy = 'name' | 'identifier' | 'value' | OutcomesDateFields | OutcomeDateField;
|
|
1241
|
-
|
|
1242
|
-
export declare interface OutcomesParams {
|
|
1243
|
-
ecosystem: string;
|
|
1244
|
-
projectName: string;
|
|
1245
|
-
clinicId?: number;
|
|
1246
|
-
name: string | string[];
|
|
1247
|
-
identifier?: string | string[];
|
|
1248
|
-
from?: string;
|
|
1249
|
-
to?: string;
|
|
1250
|
-
datesContained?: boolean;
|
|
1251
|
-
aggType?: AggFunction;
|
|
1252
|
-
groupBy?: OutcomesGroupBy | OutcomesGroupBy[];
|
|
1253
|
-
limit?: number;
|
|
1254
|
-
orderBy?: string;
|
|
1255
|
-
orderDir?: OrderDir;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
export declare const PATIENT_CREATION_ABOUT = "Patient Creation";
|
|
1259
|
-
|
|
1260
|
-
export declare interface PatientListAppearance {
|
|
1261
|
-
backgroundColor?: PatientListBackgroundColor[];
|
|
1262
|
-
order?: Order[];
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
export declare interface PatientListBackgroundColor {
|
|
1266
|
-
conditions?: ConditionsRules;
|
|
1267
|
-
backgroundColor: string;
|
|
1268
|
-
continueEvaluate?: boolean;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
export declare interface PatientListColumn {
|
|
1272
|
-
hidden?: boolean;
|
|
1273
|
-
position?: number;
|
|
1274
|
-
label?: string;
|
|
1275
|
-
key: string;
|
|
1276
|
-
notVisible?: boolean;
|
|
1277
|
-
presentationWidget?: PresentationWidget;
|
|
1278
|
-
presentationWidgetSettings?: PresentationWidgetSettings;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
export declare interface PatientListProps {
|
|
1282
|
-
loadUserProfiles?: boolean;
|
|
1283
|
-
loadAdherence?: boolean;
|
|
1284
|
-
extraFields?: string[];
|
|
1285
|
-
loadPushTokens?: boolean;
|
|
1286
|
-
loadUserAccessData?: boolean;
|
|
1287
|
-
programId?: number | null;
|
|
1288
|
-
prevAdherenceDays?: number | null;
|
|
1289
|
-
filter?: FilterParams;
|
|
1290
|
-
relatedData?: RelatedDataParams;
|
|
1291
|
-
calculatedColumns?: CalculatedColumn[];
|
|
1292
|
-
columns?: PatientListColumn[];
|
|
1293
|
-
appearance?: PatientListAppearance;
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
export declare enum PresentationWidget {
|
|
1297
|
-
TEXT = "text",
|
|
1298
|
-
ICON = "icon",
|
|
1299
|
-
ICON_TEXT = "icon_text"
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
export declare interface PresentationWidgetConditionalPropsConfig<T extends Record<string, any>> {
|
|
1303
|
-
conditionalProps?: (T & {
|
|
1304
|
-
conditions: any;
|
|
1305
|
-
continueEvaluate?: boolean;
|
|
1306
|
-
})[];
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
export declare type PresentationWidgetSettings = TextPresentationWidgetProps | IconPresentationWidgetProps | IconTextPresentationWidgetProps;
|
|
1310
|
-
|
|
1311
|
-
export declare type PresentationWidgetWithConditionalProps<T extends Record<string, any>> = T & PresentationWidgetConditionalPropsConfig<T>;
|
|
1312
|
-
|
|
1313
|
-
export declare interface ProcessLog {
|
|
1314
|
-
id: number;
|
|
1315
|
-
relatedModel?: string;
|
|
1316
|
-
relatedId?: string;
|
|
1317
|
-
code?: ProcessLogCode;
|
|
1318
|
-
log: string;
|
|
1319
|
-
type: ProcessLogType;
|
|
1320
|
-
reviewed?: boolean;
|
|
1321
|
-
created_user?: number;
|
|
1322
|
-
related_model?: string;
|
|
1323
|
-
related_id?: string;
|
|
1324
|
-
long_log?: string;
|
|
1325
|
-
extra_data?: Record<string, any>;
|
|
1326
|
-
requires_attention?: boolean;
|
|
1327
|
-
reviewed_date?: string;
|
|
1328
|
-
project_id?: number;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
export declare enum ProcessLogCode {
|
|
1332
|
-
BULK_UPLOAD_BATCH = "bulk_upload_batch",
|
|
1333
|
-
BULK_UPLOAD_SUCCESS = "bulk_upload_success",
|
|
1334
|
-
BULK_UPLOAD_ERROR = "bulk_upload_error"
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
export declare enum ProcessLogType {
|
|
1338
|
-
LOG = 0,
|
|
1339
|
-
RESULT = 1,
|
|
1340
|
-
WARNING = -1,
|
|
1341
|
-
ERROR = -2
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
declare class Profiling extends BaseModel {
|
|
1345
|
-
name: string;
|
|
1346
|
-
description: string;
|
|
1347
|
-
timestamp: string;
|
|
1348
|
-
project_id: number | null;
|
|
1349
|
-
profile_type: string | null;
|
|
1350
|
-
parent_id: number | null;
|
|
1351
|
-
seedPrivileges: SeedPrivilege[];
|
|
1352
|
-
enabledCrfs?: ProfilingEnableCp;
|
|
1353
|
-
addRepeatCrfs?: ProfilingAddRepeatCrf[];
|
|
1354
|
-
deleteRepeatCrfs?: ProfilingDeleteRepeatCrf[];
|
|
1355
|
-
privilegesDenied?: ProfilingPrivilegeDenied[];
|
|
1356
|
-
profilingSelections?: ProfilingSelected[];
|
|
1357
|
-
static get tableName(): string;
|
|
1358
|
-
static get jsonSchema(): {
|
|
1359
|
-
type: string;
|
|
1360
|
-
properties: {
|
|
1361
|
-
id: {
|
|
1362
|
-
type: string;
|
|
1363
|
-
maxLength: number;
|
|
1364
|
-
};
|
|
1365
|
-
name: {
|
|
1366
|
-
type: string;
|
|
1367
|
-
maxLength: number;
|
|
1368
|
-
};
|
|
1369
|
-
description: {
|
|
1370
|
-
type: string;
|
|
1371
|
-
};
|
|
1372
|
-
timestamp: {
|
|
1373
|
-
type: string;
|
|
1374
|
-
format: string;
|
|
1375
|
-
};
|
|
1376
|
-
project_id: {
|
|
1377
|
-
oneOf: {
|
|
1378
|
-
type: string;
|
|
1379
|
-
}[];
|
|
1380
|
-
default: null;
|
|
1381
|
-
maxLength: number;
|
|
1382
|
-
};
|
|
1383
|
-
profile_type: {
|
|
1384
|
-
oneOf: {
|
|
1385
|
-
type: string;
|
|
1386
|
-
}[];
|
|
1387
|
-
default: null;
|
|
1388
|
-
maxLength: number;
|
|
1389
|
-
};
|
|
1390
|
-
parent_id: {
|
|
1391
|
-
oneOf: {
|
|
1392
|
-
type: string;
|
|
1393
|
-
}[];
|
|
1394
|
-
default: null;
|
|
1395
|
-
maxLength: number;
|
|
1396
|
-
};
|
|
1397
|
-
};
|
|
1398
|
-
additionalProperties: boolean;
|
|
1399
|
-
};
|
|
1400
|
-
static get relationMappings(): {
|
|
1401
|
-
seedPrivileges: {
|
|
1402
|
-
relation: RelationType;
|
|
1403
|
-
modelClass: string;
|
|
1404
|
-
join: {
|
|
1405
|
-
from: string;
|
|
1406
|
-
through: {
|
|
1407
|
-
from: string;
|
|
1408
|
-
to: string;
|
|
1409
|
-
};
|
|
1410
|
-
to: string;
|
|
1411
|
-
};
|
|
1412
|
-
};
|
|
1413
|
-
addRepeatCrfs: {
|
|
1414
|
-
relation: RelationType;
|
|
1415
|
-
modelClass: string;
|
|
1416
|
-
join: {
|
|
1417
|
-
from: string;
|
|
1418
|
-
to: string;
|
|
1419
|
-
};
|
|
1420
|
-
};
|
|
1421
|
-
deleteRepeatCrfs: {
|
|
1422
|
-
relation: RelationType;
|
|
1423
|
-
modelClass: string;
|
|
1424
|
-
join: {
|
|
1425
|
-
from: string;
|
|
1426
|
-
to: string;
|
|
1427
|
-
};
|
|
1428
|
-
};
|
|
1429
|
-
enabledCrfs: {
|
|
1430
|
-
relation: RelationType;
|
|
1431
|
-
modelClass: string;
|
|
1432
|
-
join: {
|
|
1433
|
-
from: string;
|
|
1434
|
-
to: string;
|
|
1435
|
-
};
|
|
1436
|
-
};
|
|
1437
|
-
privilegesDenied: {
|
|
1438
|
-
relation: RelationType;
|
|
1439
|
-
modelClass: string;
|
|
1440
|
-
join: {
|
|
1441
|
-
from: string;
|
|
1442
|
-
to: string;
|
|
1443
|
-
};
|
|
1444
|
-
};
|
|
1445
|
-
profilingSelections: {
|
|
1446
|
-
relation: RelationType;
|
|
1447
|
-
modelClass: string;
|
|
1448
|
-
join: {
|
|
1449
|
-
from: string;
|
|
1450
|
-
to: string;
|
|
1451
|
-
};
|
|
1452
|
-
};
|
|
1453
|
-
};
|
|
1454
|
-
static getModel(ctx: RequestContext): typeof Profiling;
|
|
1455
|
-
static getFirstProProfilingId(ctx: RequestContext, projectId: number): Promise<number | undefined>;
|
|
1456
|
-
static hasAddPatient(seedPrivilegeName: string): boolean;
|
|
1457
|
-
static hasConfigNotifications(seedPrivilegeName: string): boolean;
|
|
1458
|
-
static hasManageUsers(seedPrivilegeName: string): boolean;
|
|
1459
|
-
static hasCoreProUserSensitiveInfo(seedPrivilegeName: string): boolean;
|
|
1460
|
-
static hasUsersManagementOrganization(seedPrivilegeName: string): boolean;
|
|
1461
|
-
static hasAllowToControl(seedPrivilegeName: string): boolean;
|
|
1462
|
-
static hasOnlyUpdatePatientsApiPermission(seedPrivilegeName: string): boolean;
|
|
1463
|
-
static hasUploadDocumentsPermission(seedPrivilegeName: string): boolean;
|
|
1464
|
-
static hasDeleteDocumentsPermission(seedPrivilegeName: string): boolean;
|
|
1465
|
-
static hasDownloadDocumentsPermission(seedPrivilegeName: string): boolean;
|
|
1466
|
-
static hasDisplayPatientListPrivilege(seedPrivilegeName: string): boolean;
|
|
1467
|
-
static checkIfProfilingExists(ctx: RequestContext, profilingId?: number): Promise<boolean>;
|
|
1468
|
-
isProProfiling(seedPrivileges: SeedPrivilege[]): boolean;
|
|
1469
|
-
hasManageUsersPrivilege(): boolean;
|
|
1470
|
-
hasCoreProUserSensitiveInfoPrivilege(): boolean;
|
|
1471
|
-
hasUserManagementMyOrganizationsPrivilege(): boolean;
|
|
1472
|
-
hasAllowControlProfilesPrivilege(): boolean;
|
|
1473
|
-
hasDeletePatientPrivilege(): boolean;
|
|
1474
|
-
hasFullDeletePatientPrivilege(): boolean;
|
|
1475
|
-
hasAddRepeatableCrfPrivilege(): boolean;
|
|
1476
|
-
hasDeleteRepeatableCrfPrivilege(): boolean;
|
|
1477
|
-
hasEnableCpPrivilege(): boolean;
|
|
1478
|
-
hasNotificationLogPrivilege(): boolean;
|
|
1479
|
-
hasMyNotificationLogPrivilege(): boolean;
|
|
1480
|
-
hasAllPatientListPrivilege(): boolean;
|
|
1481
|
-
hasOnlyMyPatients(): boolean;
|
|
1482
|
-
hasConnectorAddCpPrivilege(): boolean;
|
|
1483
|
-
hasConnectorAddCrfPrivilege(): boolean;
|
|
1484
|
-
hasConnectorAddFieldPrivilege(): boolean;
|
|
1485
|
-
hasRawExportPrivilege(): boolean;
|
|
1486
|
-
hasExportConfigurationsExplicitAccessOnlyPrivilege(): boolean;
|
|
1487
|
-
isPro(): boolean;
|
|
1488
|
-
isNonPro(): boolean;
|
|
1489
|
-
hasEnabledForm(formName: any): boolean;
|
|
1490
|
-
hasAddRepeatCrf(formName: any): boolean;
|
|
1491
|
-
hasDeleteRepeatCrf(formName: any): boolean;
|
|
1492
|
-
hasViewPermission(formName: any): boolean;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
declare class ProfilingAddRepeatCrf extends BaseModel {
|
|
1496
|
-
profiling_id: number;
|
|
1497
|
-
crf_name: string;
|
|
1498
|
-
static get tableName(): string;
|
|
1499
|
-
static get jsonSchema(): {
|
|
1500
|
-
type: string;
|
|
1501
|
-
properties: {
|
|
1502
|
-
id: {
|
|
1503
|
-
type: string;
|
|
1504
|
-
};
|
|
1505
|
-
profiling_id: {
|
|
1506
|
-
type: string;
|
|
1507
|
-
};
|
|
1508
|
-
crf_name: {
|
|
1509
|
-
type: string;
|
|
1510
|
-
};
|
|
1511
|
-
};
|
|
1512
|
-
};
|
|
1513
|
-
static getModel(ctx: RequestContext): typeof ProfilingAddRepeatCrf;
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
declare class ProfilingDeleteRepeatCrf extends BaseModel {
|
|
1517
|
-
profiling_id: number;
|
|
1518
|
-
crf_name: string;
|
|
1519
|
-
static get tableName(): string;
|
|
1520
|
-
static get jsonSchema(): {
|
|
1521
|
-
type: string;
|
|
1522
|
-
properties: {
|
|
1523
|
-
id: {
|
|
1524
|
-
type: string;
|
|
1525
|
-
};
|
|
1526
|
-
profiling_id: {
|
|
1527
|
-
type: string;
|
|
1528
|
-
};
|
|
1529
|
-
crf_name: {
|
|
1530
|
-
type: string;
|
|
1531
|
-
};
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
|
-
static getModel(ctx: RequestContext): typeof ProfilingDeleteRepeatCrf;
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
declare class ProfilingEnableCp extends BaseModel {
|
|
1538
|
-
profiling_id: number;
|
|
1539
|
-
cp: string;
|
|
1540
|
-
crfs: string;
|
|
1541
|
-
static get tableName(): string;
|
|
1542
|
-
static get jsonSchema(): {
|
|
1543
|
-
type: string;
|
|
1544
|
-
properties: {
|
|
1545
|
-
id: {
|
|
1546
|
-
type: string;
|
|
1547
|
-
};
|
|
1548
|
-
profiling_id: {
|
|
1549
|
-
type: string;
|
|
1550
|
-
};
|
|
1551
|
-
cp: {
|
|
1552
|
-
type: string;
|
|
1553
|
-
};
|
|
1554
|
-
crfs: {
|
|
1555
|
-
type: string;
|
|
1556
|
-
};
|
|
1557
|
-
};
|
|
1558
|
-
};
|
|
1559
|
-
static getModel(ctx: RequestContext): typeof ProfilingEnableCp;
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
declare class ProfilingPrivilegeDenied extends BaseModel {
|
|
1563
|
-
profiling_id: number;
|
|
1564
|
-
crf_name: string;
|
|
1565
|
-
permission_name: string;
|
|
1566
|
-
static get tableName(): string;
|
|
1567
|
-
static get jsonSchema(): {
|
|
1568
|
-
type: string;
|
|
1569
|
-
properties: {
|
|
1570
|
-
id: {
|
|
1571
|
-
type: string;
|
|
1572
|
-
};
|
|
1573
|
-
profiling_id: {
|
|
1574
|
-
type: string;
|
|
1575
|
-
};
|
|
1576
|
-
crf_name: {
|
|
1577
|
-
type: string;
|
|
1578
|
-
};
|
|
1579
|
-
permission_name: {
|
|
1580
|
-
type: string;
|
|
1581
|
-
};
|
|
1582
|
-
};
|
|
1583
|
-
};
|
|
1584
|
-
static getModel(ctx: RequestContext): typeof ProfilingPrivilegeDenied;
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
declare class ProfilingSelected extends BaseModel {
|
|
1588
|
-
profiling_id: number | null;
|
|
1589
|
-
profiling_selected_id: number | null;
|
|
1590
|
-
static get tableName(): string;
|
|
1591
|
-
static get jsonSchema(): {
|
|
1592
|
-
type: string;
|
|
1593
|
-
properties: {
|
|
1594
|
-
id: {
|
|
1595
|
-
type: string;
|
|
1596
|
-
maxLength: number;
|
|
1597
|
-
};
|
|
1598
|
-
profiling_id: {
|
|
1599
|
-
oneOf: {
|
|
1600
|
-
type: string;
|
|
1601
|
-
}[];
|
|
1602
|
-
maxLength: number;
|
|
1603
|
-
};
|
|
1604
|
-
profiling_selected_id: {
|
|
1605
|
-
oneOf: {
|
|
1606
|
-
type: string;
|
|
1607
|
-
}[];
|
|
1608
|
-
maxLength: number;
|
|
1609
|
-
};
|
|
1610
|
-
};
|
|
1611
|
-
additionalProperties: boolean;
|
|
1612
|
-
};
|
|
1613
|
-
static getModel(ctx: RequestContext): typeof ProfilingSelected;
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
declare class Project extends BaseModel {
|
|
1617
|
-
ecosystem: number;
|
|
1618
|
-
user_id: number;
|
|
1619
|
-
user_mode: string;
|
|
1620
|
-
name: string;
|
|
1621
|
-
label: string;
|
|
1622
|
-
description: string;
|
|
1623
|
-
database_name: string;
|
|
1624
|
-
hostname: string;
|
|
1625
|
-
username: string;
|
|
1626
|
-
password: string;
|
|
1627
|
-
database_name_training: string;
|
|
1628
|
-
hostname_training: string;
|
|
1629
|
-
username_training: string;
|
|
1630
|
-
password_training: string;
|
|
1631
|
-
database_name_production: string;
|
|
1632
|
-
hostname_production: string;
|
|
1633
|
-
username_production: string;
|
|
1634
|
-
password_production: string;
|
|
1635
|
-
mobile_customization: number;
|
|
1636
|
-
mobile_description: string;
|
|
1637
|
-
mobile_icon: string;
|
|
1638
|
-
mobile_splash: string;
|
|
1639
|
-
contact_phone: string;
|
|
1640
|
-
external_ecosystem_name: string | null;
|
|
1641
|
-
clinics: Clinic[];
|
|
1642
|
-
static get tableName(): string;
|
|
1643
|
-
static get jsonSchema(): {
|
|
1644
|
-
type: string;
|
|
1645
|
-
required: string[];
|
|
1646
|
-
properties: {
|
|
1647
|
-
id: {
|
|
1648
|
-
type: string;
|
|
1649
|
-
};
|
|
1650
|
-
ecosystem: {
|
|
1651
|
-
type: string;
|
|
1652
|
-
};
|
|
1653
|
-
user_id: {
|
|
1654
|
-
type: string;
|
|
1655
|
-
};
|
|
1656
|
-
user_mode: {
|
|
1657
|
-
type: string;
|
|
1658
|
-
maxLength: number;
|
|
1659
|
-
};
|
|
1660
|
-
name: {
|
|
1661
|
-
type: string;
|
|
1662
|
-
maxLength: number;
|
|
1663
|
-
};
|
|
1664
|
-
label: {
|
|
1665
|
-
type: string;
|
|
1666
|
-
maxLength: number;
|
|
1667
|
-
};
|
|
1668
|
-
description: {
|
|
1669
|
-
type: string;
|
|
1670
|
-
};
|
|
1671
|
-
database_name: {
|
|
1672
|
-
type: string;
|
|
1673
|
-
maxLength: number;
|
|
1674
|
-
};
|
|
1675
|
-
hostname: {
|
|
1676
|
-
type: string;
|
|
1677
|
-
maxLength: number;
|
|
1678
|
-
};
|
|
1679
|
-
username: {
|
|
1680
|
-
type: string;
|
|
1681
|
-
maxLength: number;
|
|
1682
|
-
};
|
|
1683
|
-
password: {
|
|
1684
|
-
type: string;
|
|
1685
|
-
maxLength: number;
|
|
1686
|
-
};
|
|
1687
|
-
database_name_training: {
|
|
1688
|
-
type: string;
|
|
1689
|
-
maxLength: number;
|
|
1690
|
-
};
|
|
1691
|
-
hostname_training: {
|
|
1692
|
-
type: string;
|
|
1693
|
-
maxLength: number;
|
|
1694
|
-
};
|
|
1695
|
-
username_training: {
|
|
1696
|
-
type: string;
|
|
1697
|
-
maxLength: number;
|
|
1698
|
-
};
|
|
1699
|
-
password_training: {
|
|
1700
|
-
type: string;
|
|
1701
|
-
maxLength: number;
|
|
1702
|
-
};
|
|
1703
|
-
database_name_production: {
|
|
1704
|
-
type: string;
|
|
1705
|
-
maxLength: number;
|
|
1706
|
-
};
|
|
1707
|
-
hostname_production: {
|
|
1708
|
-
type: string;
|
|
1709
|
-
maxLength: number;
|
|
1710
|
-
};
|
|
1711
|
-
username_production: {
|
|
1712
|
-
type: string;
|
|
1713
|
-
maxLength: number;
|
|
1714
|
-
};
|
|
1715
|
-
password_production: {
|
|
1716
|
-
type: string;
|
|
1717
|
-
maxLength: number;
|
|
1718
|
-
};
|
|
1719
|
-
mobile_customization: {
|
|
1720
|
-
type: string;
|
|
1721
|
-
};
|
|
1722
|
-
mobile_description: {
|
|
1723
|
-
type: string;
|
|
1724
|
-
};
|
|
1725
|
-
mobile_icon: {
|
|
1726
|
-
type: string;
|
|
1727
|
-
maxLength: number;
|
|
1728
|
-
};
|
|
1729
|
-
mobile_splash: {
|
|
1730
|
-
type: string;
|
|
1731
|
-
maxLength: number;
|
|
1732
|
-
};
|
|
1733
|
-
contact_phone: {
|
|
1734
|
-
type: string;
|
|
1735
|
-
maxLength: number;
|
|
1736
|
-
};
|
|
1737
|
-
external_ecosystem_name: {
|
|
1738
|
-
oneOf: {
|
|
1739
|
-
type: string;
|
|
1740
|
-
}[];
|
|
1741
|
-
default: null;
|
|
1742
|
-
maxLength: number;
|
|
1743
|
-
};
|
|
1744
|
-
};
|
|
1745
|
-
};
|
|
1746
|
-
static get relationMappings(): {
|
|
1747
|
-
clinics: {
|
|
1748
|
-
relation: default_2.RelationType;
|
|
1749
|
-
modelClass: string;
|
|
1750
|
-
join: {
|
|
1751
|
-
from: string;
|
|
1752
|
-
through: {
|
|
1753
|
-
from: string;
|
|
1754
|
-
to: string;
|
|
1755
|
-
};
|
|
1756
|
-
to: string;
|
|
1757
|
-
};
|
|
1758
|
-
};
|
|
1759
|
-
};
|
|
1760
|
-
static getModel(ctx: RequestContext): typeof Project;
|
|
1761
|
-
static getModelByPool(ecosystemPool: default_2.TransactionOrKnex): typeof Project;
|
|
1762
|
-
static checkIfProjectExists(ctx: RequestContext, projectId: number): Promise<boolean>;
|
|
1763
|
-
static getProjectIdByName(ctxOrEcosystemPool: RequestContext | default_2.TransactionOrKnex, projectName: string): Promise<number | undefined>;
|
|
1764
|
-
static getProjectIdByNameOrFail(ctx: RequestContext, projectName?: string | null): Promise<number>;
|
|
1765
|
-
static getProjectName(ctx: RequestContext, projectId: number): Promise<string | undefined>;
|
|
1766
|
-
static getExternalEcosystemName(ctx: RequestContext, projectId: number): Promise<string | null | undefined>;
|
|
1767
|
-
static getProjectLabel(ctx: RequestContext, projectName: string): Promise<string | undefined>;
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
declare class ProjectClinic extends BaseModel {
|
|
1771
|
-
clinic_id: number;
|
|
1772
|
-
project_id: number;
|
|
1773
|
-
static get tableName(): string;
|
|
1774
|
-
static get jsonSchema(): {
|
|
1775
|
-
type: string;
|
|
1776
|
-
properties: {
|
|
1777
|
-
id: {
|
|
1778
|
-
type: string;
|
|
1779
|
-
};
|
|
1780
|
-
clinic_id: {
|
|
1781
|
-
oneOf: {
|
|
1782
|
-
type: string;
|
|
1783
|
-
}[];
|
|
1784
|
-
default: null;
|
|
1785
|
-
maxLength: number;
|
|
1786
|
-
};
|
|
1787
|
-
project_id: {
|
|
1788
|
-
oneOf: {
|
|
1789
|
-
type: string;
|
|
1790
|
-
}[];
|
|
1791
|
-
default: null;
|
|
1792
|
-
maxLength: number;
|
|
1793
|
-
};
|
|
1794
|
-
};
|
|
1795
|
-
additionalProperties: boolean;
|
|
1796
|
-
};
|
|
1797
|
-
static getModel(ctx: RequestContext): typeof ProjectClinic;
|
|
1798
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<ProjectClinic>): Promise<number>;
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
export declare const QUESTIONNAIRE_DATE: {
|
|
1802
|
-
DATE: string;
|
|
1803
|
-
TIME: string;
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
export declare const QUESTIONNAIRE_TYPE: {
|
|
1807
|
-
TYPE: string;
|
|
1808
|
-
};
|
|
1809
|
-
|
|
1810
|
-
export declare const QUESTIONNAIRE_TYPE_OPTIONS: {
|
|
1811
|
-
'0': string;
|
|
1812
|
-
'1': string;
|
|
1813
|
-
};
|
|
1814
|
-
|
|
1815
|
-
export declare interface QuestionnaireInfoData extends QuestionnaireInfoPatchData {
|
|
1816
|
-
id: number;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
export declare interface QuestionnaireInfoPatchData {
|
|
1820
|
-
crf_name?: string;
|
|
1821
|
-
patient_id: number;
|
|
1822
|
-
number_of_questionaries?: number | null;
|
|
1823
|
-
last_update?: string | null;
|
|
1824
|
-
last_update_form_id?: number | null;
|
|
1825
|
-
procedure_date: string;
|
|
1826
|
-
activation_date?: Dayjs | string | null;
|
|
1827
|
-
end_date?: string | null;
|
|
1828
|
-
next_date?: string | null;
|
|
1829
|
-
finish_date?: string | null;
|
|
1830
|
-
questionaries_not_filled?: number | null;
|
|
1831
|
-
flexible_entry?: number;
|
|
1832
|
-
field_reference_id?: number | null;
|
|
1833
|
-
total_tasks: number;
|
|
1834
|
-
activation_time_tz?: string | null;
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
export declare enum QuestionnaireInfoUpdateMode {
|
|
1838
|
-
START_OVER = 0,
|
|
1839
|
-
RESUME = 1
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
export declare interface QuestionnaireInfoUpdateOptions {
|
|
1843
|
-
defaultMode: QuestionnaireInfoUpdateMode;
|
|
1844
|
-
referenceFieldIdModes?: {
|
|
1845
|
-
[key: string]: QuestionnaireInfoUpdateMode;
|
|
1846
|
-
};
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
export declare type QuestionnaireTypeValue = 'QoL' | 'Task';
|
|
1850
|
-
|
|
1851
|
-
export declare interface RelatedDataParams {
|
|
1852
|
-
join?: string[];
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* req.body object mfa validation
|
|
1857
|
-
*/
|
|
1858
|
-
export declare interface ReqBodyWithMFA {
|
|
1859
|
-
mfa?: MFALoginData;
|
|
1860
|
-
[key: string]: any;
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
declare class RequestCache_2 {
|
|
1864
|
-
cache: Record<string, any>;
|
|
1865
|
-
cacheHits: Record<string, number>;
|
|
1866
|
-
redisCacheHits: Record<string, number>;
|
|
1867
|
-
nodeCacheHits: Record<string, number>;
|
|
1868
|
-
ctx: RequestContext;
|
|
1869
|
-
constructor(ctx: RequestContext);
|
|
1870
|
-
get ecosystem(): string | null | undefined;
|
|
1871
|
-
get project(): string | null | undefined;
|
|
1872
|
-
get userId(): number | undefined;
|
|
1873
|
-
get patientId(): number | undefined;
|
|
1874
|
-
/**
|
|
1875
|
-
* Merge options
|
|
1876
|
-
* @param {object} options
|
|
1877
|
-
* @return {*&{projectDependent: boolean, patientDependent: boolean, userDependent: boolean, requestDependent: boolean, serializable: boolean, ecosystemDependent: boolean}}
|
|
1878
|
-
*/
|
|
1879
|
-
getOptions(options: any): CacheOptions;
|
|
1880
|
-
/**
|
|
1881
|
-
* @param {string} key
|
|
1882
|
-
* @param {object} options
|
|
1883
|
-
* @return {string}
|
|
1884
|
-
*/
|
|
1885
|
-
getCacheKey(key: any, options: any): string;
|
|
1886
|
-
getTagsWithDependencyTags(options: CacheOptions): {
|
|
1887
|
-
[x: string]: any;
|
|
1888
|
-
};
|
|
1889
|
-
/**
|
|
1890
|
-
* Add an item to the cache
|
|
1891
|
-
* @param {string} key
|
|
1892
|
-
* @param {any} value
|
|
1893
|
-
* @param {any} opt
|
|
1894
|
-
* @return {any}
|
|
1895
|
-
*/
|
|
1896
|
-
add<T = any>(key: string, value: T, opt?: Partial<CacheOptions>): T;
|
|
1897
|
-
addToLocal<T>(key: any, value: any, tags?: {}, options?: Partial<CacheOptions>): T;
|
|
1898
|
-
addToRedis(key: any, value: any, tags?: {}, options?: Partial<CacheOptions>): any;
|
|
1899
|
-
_addToRequestCache(key: any, value: any): void;
|
|
1900
|
-
_addToRedisCache(key: any, value: any, tags: any): void;
|
|
1901
|
-
_addToNodeCache(key: any, value: any, tags: any): void;
|
|
1902
|
-
/**
|
|
1903
|
-
* Get an item from the cache
|
|
1904
|
-
* @param {string} key
|
|
1905
|
-
* @param {any} defaultValue
|
|
1906
|
-
* @param {any} options
|
|
1907
|
-
* @return {any}
|
|
1908
|
-
*/
|
|
1909
|
-
get(key: any, defaultValue?: null, options?: Partial<CacheOptions>): Promise<any>;
|
|
1910
|
-
/**
|
|
1911
|
-
* Return cached value from local node cache
|
|
1912
|
-
* This function is used in not async environments
|
|
1913
|
-
* @param key
|
|
1914
|
-
* @param defaultValue
|
|
1915
|
-
* @param options
|
|
1916
|
-
* @return {null|*}
|
|
1917
|
-
*/
|
|
1918
|
-
getFromLocal<T = any>(key: any, defaultValue?: T | null, options?: Partial<CacheOptions>): T | null;
|
|
1919
|
-
/**
|
|
1920
|
-
* Return cached value from local node cache
|
|
1921
|
-
* This function is used in not async environments
|
|
1922
|
-
* @param key
|
|
1923
|
-
* @param defaultValue
|
|
1924
|
-
* @param options
|
|
1925
|
-
* @return {null|*}
|
|
1926
|
-
*/
|
|
1927
|
-
getFromRequest(key: any, defaultValue?: null, options?: Partial<CacheOptions>): any;
|
|
1928
|
-
getFromRedis(key: any, defaultValue?: null, options?: Partial<CacheOptions>): any;
|
|
1929
|
-
_getFromRequestCache(key: any): any;
|
|
1930
|
-
_getFromRedisCache(key: any): Promise<any>;
|
|
1931
|
-
_getFromNodeCache(key: any): any;
|
|
1932
|
-
clearDesigner(crf: any): void;
|
|
1933
|
-
clearForm(crf: any, id: any): void;
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
declare class RequestContext implements RequestContextData {
|
|
1937
|
-
ecosystemName?: string | null;
|
|
1938
|
-
projectName?: string | null;
|
|
1939
|
-
userId?: number;
|
|
1940
|
-
patientId?: number;
|
|
1941
|
-
ip?: string;
|
|
1942
|
-
cache: RequestCache_2;
|
|
1943
|
-
loginId?: string;
|
|
1944
|
-
user?: User;
|
|
1945
|
-
userLanguage?: string;
|
|
1946
|
-
ecosystemPool?: Knex;
|
|
1947
|
-
projectPool?: Knex;
|
|
1948
|
-
perseedPool?: Knex;
|
|
1949
|
-
ecosystemTrx?: Transaction;
|
|
1950
|
-
tz: string;
|
|
1951
|
-
reqId?: string;
|
|
1952
|
-
i18n: i18n;
|
|
1953
|
-
projectTrx?: Transaction;
|
|
1954
|
-
projectTrxPile: Transaction[];
|
|
1955
|
-
ecosystemTrxPile: Transaction[];
|
|
1956
|
-
coreProfiling?: 'NonPRO' | 'PRO';
|
|
1957
|
-
userRole?: string;
|
|
1958
|
-
projectId?: number;
|
|
1959
|
-
ecosystemId?: number;
|
|
1960
|
-
/**
|
|
1961
|
-
* Compatibility prop, should be removed in the future
|
|
1962
|
-
*/
|
|
1963
|
-
params: {
|
|
1964
|
-
ecosystemName?: string | null;
|
|
1965
|
-
projectName?: string | null;
|
|
1966
|
-
};
|
|
1967
|
-
private constructor();
|
|
1968
|
-
get userType(): string | undefined;
|
|
1969
|
-
get acceptLanguage(): string;
|
|
1970
|
-
get t(): TFunction<["translation", ...string[]], undefined>;
|
|
1971
|
-
static create(data: RequestContextData): Promise<RequestContext>;
|
|
1972
|
-
static createFromRequest(req: Request_2): Promise<RequestContext>;
|
|
1973
|
-
static createFromRequestFastify(req: FastifyRequest): Promise<RequestContext>;
|
|
1974
|
-
static getRequestDataWithUser(baseRequestData: Partial<RequestContextData>, u: Partial<UserData>): RequestContextData;
|
|
1975
|
-
static getRequestData(req: Optional<Request_2, 'ctx'>): Partial<RequestContextData>;
|
|
1976
|
-
static getRequestDataFastify(req: Optional<FastifyRequest, 'ctx'>): Partial<RequestContextData>;
|
|
1977
|
-
getStaticRequestDataWithUser(u: EcosystemUsers): {
|
|
1978
|
-
ecosystemName: string | null;
|
|
1979
|
-
projectName?: string | null | undefined;
|
|
1980
|
-
loginId: string;
|
|
1981
|
-
userId: number;
|
|
1982
|
-
userLanguage?: string | undefined;
|
|
1983
|
-
ip?: string | undefined;
|
|
1984
|
-
tz: string;
|
|
1985
|
-
i18n?: i18n | undefined;
|
|
1986
|
-
reqId?: string | undefined;
|
|
1987
|
-
};
|
|
1988
|
-
getStaticRequestData(): Partial<RequestContextData>;
|
|
1989
|
-
updateContextData(data: Partial<RequestContextData>): Promise<void>;
|
|
1990
|
-
getRequestContextData(extra?: Partial<RequestContextData>): RequestContextData;
|
|
1991
|
-
cloneWithData(data: Partial<RequestContextData>): Promise<RequestContext>;
|
|
1992
|
-
getProjectPool(): Knex;
|
|
1993
|
-
getEcosystemPool(): Knex;
|
|
1994
|
-
getPerseedPool(): Knex;
|
|
1995
|
-
getUserId(): number;
|
|
1996
|
-
getUser(throwException?: true): User;
|
|
1997
|
-
getUser(throwException: false): User | undefined;
|
|
1998
|
-
getProjectName(): string;
|
|
1999
|
-
getProjectId(): number;
|
|
2000
|
-
getEcosystemName(): string;
|
|
2001
|
-
getEcosystemId(): number;
|
|
2002
|
-
getPatientId(): number;
|
|
2003
|
-
private init;
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
declare interface RequestContextData {
|
|
2007
|
-
ecosystemName?: string | null;
|
|
2008
|
-
projectName?: string | null;
|
|
2009
|
-
loginId?: string;
|
|
2010
|
-
userId?: number;
|
|
2011
|
-
userLanguage?: string;
|
|
2012
|
-
ip?: string;
|
|
2013
|
-
tz?: string;
|
|
2014
|
-
i18n?: i18n;
|
|
2015
|
-
reqId?: string;
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
declare class Role extends BaseModel {
|
|
2019
|
-
roleId: string;
|
|
2020
|
-
parent_id: number;
|
|
2021
|
-
static get tableName(): string;
|
|
2022
|
-
static get jsonSchema(): {
|
|
2023
|
-
type: string;
|
|
2024
|
-
properties: {
|
|
2025
|
-
id: {
|
|
2026
|
-
type: string;
|
|
2027
|
-
};
|
|
2028
|
-
roleId: {
|
|
2029
|
-
type: string;
|
|
2030
|
-
};
|
|
2031
|
-
parent_id: {
|
|
2032
|
-
type: string;
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
};
|
|
2036
|
-
static getModel(ctx: RequestContext): typeof Role;
|
|
2037
|
-
static getIdByRoleId(ctx: RequestContext, roleId: string): Promise<number | undefined>;
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
export declare const ROLES: {
|
|
2041
|
-
PERSEED_ADMIN: string;
|
|
2042
|
-
ECOSYSTEM_ADMIN: string;
|
|
2043
|
-
USER: string;
|
|
2044
|
-
SALE: string;
|
|
2045
|
-
};
|
|
2046
|
-
|
|
2047
|
-
export declare interface SectionCardProps {
|
|
2048
|
-
icon: string;
|
|
2049
|
-
background?: string;
|
|
2050
|
-
titleBackground?: string;
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
/**
|
|
2054
|
-
* Seed Privilege constants
|
|
2055
|
-
*/
|
|
2056
|
-
export declare const SEED_PRIVILEGE: {
|
|
2057
|
-
readonly ADD_PATIENT: "add_patient";
|
|
2058
|
-
readonly ADD_REPEATABLE_CRF: "add_repeat_crf";
|
|
2059
|
-
readonly ADVANCED_FILTER: "advanced_filter";
|
|
2060
|
-
readonly ALL_PATIENT_LIST: "all_patient_list";
|
|
2061
|
-
readonly ALLOW_TO_CONTROL_THESE_PROFILES: "core_control_profile";
|
|
2062
|
-
readonly CONNECTOR_ADD_CP: "connector_add_cp";
|
|
2063
|
-
readonly CONNECTOR_ADD_CRF: "connector_add_crf";
|
|
2064
|
-
readonly CONNECTOR_ADD_FIELD: "connector_add_field";
|
|
2065
|
-
readonly CORE_NOT_ALLOW_ACCESS_SENSITIVE_INFO: "core_not_allow_access_sensitive_info";
|
|
2066
|
-
readonly CORE_NOTIFICATION_LOG: "core_notification_log";
|
|
2067
|
-
readonly CORE_NOTIFICATION_MY_LOG: "core_notification_my_log";
|
|
2068
|
-
readonly DELETE_PATIENT: "delete_patient";
|
|
2069
|
-
readonly FULL_DELETE_PATIENT: "full_delete_patient";
|
|
2070
|
-
readonly DELETE_REPEATABLE_CRF: "delete_crf";
|
|
2071
|
-
readonly EXPORT_ANONYMIZED: "export_anonymized";
|
|
2072
|
-
readonly ENABLE_CP: "enable_cp";
|
|
2073
|
-
readonly EXPORT_MY_HOSPITALS: "export_my_hospitals";
|
|
2074
|
-
readonly EXPORT_NOT_ALLOW_ACCESS_SENSITIVE_INFO: "export_not_allow_access_sensitive_info";
|
|
2075
|
-
readonly EXPORT_USER_TIMESTAMP: "export_user_timestamp";
|
|
2076
|
-
readonly EXPORT_RAW: "export_raw";
|
|
2077
|
-
readonly FILTER_ALL: "filter_all";
|
|
2078
|
-
readonly FILTER_MY_HOSPITALS: "filter_my_hospitals";
|
|
2079
|
-
readonly MANAGE_USERS: "core_manage_user";
|
|
2080
|
-
readonly CORE_PRO_USER_SENSITIVE_INFO: "core_pro_user_sensitive_info";
|
|
2081
|
-
readonly NOTIFICATIONS: "core_notification_seed";
|
|
2082
|
-
readonly ONLY_MY_PATIENTS: "only_my_patients";
|
|
2083
|
-
readonly ONLY_UPDATE_PATIENTS_API: "only_update_patients";
|
|
2084
|
-
readonly PRO_USER: "core_pro_user";
|
|
2085
|
-
readonly USERS_MANAGEMENT_FOR_MY_ORGANIZATIONS: "core_manage_user_hospital";
|
|
2086
|
-
readonly UPLOAD_DOCUMENTS: "add";
|
|
2087
|
-
readonly DELETE_DOCUMENTS: "delete";
|
|
2088
|
-
readonly READ_DOCUMENTS: "read";
|
|
2089
|
-
readonly DISPLAY_PATIENT_LIST: "advanced_patient_list";
|
|
2090
|
-
readonly EXPORT_CONFIGURATION_EXPLICIT_ACCESS: "export_configurations_explicit_access_only";
|
|
2091
|
-
readonly TRIGGERS_MANAGEMENT: "triggers_management";
|
|
2092
|
-
readonly DASHBOARD_SETTINGS_MANAGEMENT: "dashboard_settings_manage_all";
|
|
2093
|
-
readonly DASHBOARD_SETTINGS_OWN_MANAGEMENT: "dashboard_settings_manage_own";
|
|
2094
|
-
readonly DASHBOARD_SETTINGS_READ_ONLY: "dashboard_settings_read_only";
|
|
2095
|
-
readonly DASHBOARD_FOLLOWUP_ALL: "dashboard_followup_access_all";
|
|
2096
|
-
readonly DASHBOARD_FOLLOWUP_OWN: "dashboard_followup_access_own";
|
|
2097
|
-
readonly DASHBOARD_FOLLOWUP_ASSIGNED: "dashboard_followup_access_assigned";
|
|
2098
|
-
readonly CORE_MANAGE_ORGANIZATION: "core_manage_organization";
|
|
2099
|
-
};
|
|
2100
|
-
|
|
2101
|
-
declare type SEED_PRIVILEGE_Keys = keyof typeof SEED_PRIVILEGE;
|
|
2102
|
-
|
|
2103
|
-
export declare type SEED_PRIVILEGES = typeof SEED_PRIVILEGE[SEED_PRIVILEGE_Keys];
|
|
2104
|
-
|
|
2105
|
-
declare class SeedPrivilege extends BaseModel {
|
|
2106
|
-
seed_id: number;
|
|
2107
|
-
name: string;
|
|
2108
|
-
label: string;
|
|
2109
|
-
description: string;
|
|
2110
|
-
timestamp: string;
|
|
2111
|
-
controller: string;
|
|
2112
|
-
action: string;
|
|
2113
|
-
param: string;
|
|
2114
|
-
is_relate_extra_control: number;
|
|
2115
|
-
static get tableName(): string;
|
|
2116
|
-
static get jsonSchema(): {
|
|
2117
|
-
type: string;
|
|
2118
|
-
properties: {
|
|
2119
|
-
id: {
|
|
2120
|
-
type: string;
|
|
2121
|
-
maxLength: number;
|
|
2122
|
-
};
|
|
2123
|
-
seed_id: {
|
|
2124
|
-
type: string;
|
|
2125
|
-
maxLength: number;
|
|
2126
|
-
};
|
|
2127
|
-
name: {
|
|
2128
|
-
type: string;
|
|
2129
|
-
maxLength: number;
|
|
2130
|
-
};
|
|
2131
|
-
label: {
|
|
2132
|
-
type: string;
|
|
2133
|
-
maxLength: number;
|
|
2134
|
-
};
|
|
2135
|
-
description: {
|
|
2136
|
-
type: string;
|
|
2137
|
-
};
|
|
2138
|
-
timestamp: {
|
|
2139
|
-
type: string;
|
|
2140
|
-
format: string;
|
|
2141
|
-
};
|
|
2142
|
-
controller: {
|
|
2143
|
-
type: string;
|
|
2144
|
-
maxLength: number;
|
|
2145
|
-
};
|
|
2146
|
-
action: {
|
|
2147
|
-
type: string;
|
|
2148
|
-
maxLength: number;
|
|
2149
|
-
};
|
|
2150
|
-
param: {
|
|
2151
|
-
type: string;
|
|
2152
|
-
maxLength: number;
|
|
2153
|
-
};
|
|
2154
|
-
is_relate_extra_control: {
|
|
2155
|
-
type: string;
|
|
2156
|
-
maxLength: number;
|
|
2157
|
-
};
|
|
2158
|
-
};
|
|
2159
|
-
additionalProperties: boolean;
|
|
2160
|
-
};
|
|
2161
|
-
static getModel(ctx: RequestContext): typeof SeedPrivilege;
|
|
2162
|
-
isDeletePatient(): boolean;
|
|
2163
|
-
isFullDeletePatient(): boolean;
|
|
2164
|
-
isAddRepeatableCrf(): boolean;
|
|
2165
|
-
isDeleteRepeatableCrf(): boolean;
|
|
2166
|
-
isEnableCp(): boolean;
|
|
2167
|
-
isShowAllNotificationsInLog(): boolean;
|
|
2168
|
-
isShowOnlyMyNotificationsInLog(): boolean;
|
|
2169
|
-
isAllPatientList(): boolean;
|
|
2170
|
-
isOnlyMyPatients(): boolean;
|
|
2171
|
-
isManageUsers(): boolean;
|
|
2172
|
-
isCoreProUserSensitiveInfo(): boolean;
|
|
2173
|
-
isUserManagementMyOrganizations(): boolean;
|
|
2174
|
-
isAllowControlProfiles(): boolean;
|
|
2175
|
-
isConnectorAddCp(): boolean;
|
|
2176
|
-
isConnectorAddCrf(): boolean;
|
|
2177
|
-
isConnectorAddField(): boolean;
|
|
2178
|
-
isExportRaw(): boolean;
|
|
2179
|
-
isExportConfigurationsExplicitAccessOnly(): boolean;
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
export declare const SELECT_FIELD_TYPES: string[];
|
|
2183
|
-
|
|
2184
|
-
export declare const SELECTOR_TYPE: {
|
|
2185
|
-
SLIDER: string;
|
|
2186
|
-
DROPDOWN: string;
|
|
2187
|
-
RADIO_BUTTON: string;
|
|
2188
|
-
CHECK_BOX: string;
|
|
2189
|
-
};
|
|
2190
|
-
|
|
2191
|
-
declare interface SettingResponse {
|
|
2192
|
-
id: number;
|
|
2193
|
-
name: string;
|
|
2194
|
-
value: UserSettingValue;
|
|
2195
|
-
device_id?: string | null;
|
|
2196
|
-
project_name?: string | null;
|
|
2197
|
-
ecosystem_name?: string | null;
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
export declare const SHORT_TIME_FORMAT = "HH:mm";
|
|
2201
|
-
|
|
2202
|
-
export declare const SLIDER_SCALE_ORIENTATION_TYPE: {
|
|
2203
|
-
[SLIDER_SCALE_TYPE.HORIZONTAL]: string;
|
|
2204
|
-
[SLIDER_SCALE_TYPE.VERTICAL]: string;
|
|
2205
|
-
};
|
|
2206
|
-
|
|
2207
|
-
export declare const SLIDER_SCALE_TYPE: {
|
|
2208
|
-
HORIZONTAL: string;
|
|
2209
|
-
VERTICAL: string;
|
|
2210
|
-
};
|
|
2211
|
-
|
|
2212
|
-
export declare const SLIDER_SELECTOR_TYPE: {
|
|
2213
|
-
[SLIDER_TYPE.STARS]: string;
|
|
2214
|
-
[SLIDER_TYPE.SCALE_RATING]: string;
|
|
2215
|
-
[SLIDER_TYPE.IMAGES]: string;
|
|
2216
|
-
};
|
|
2217
|
-
|
|
2218
|
-
export declare const SLIDER_TYPE: {
|
|
2219
|
-
STARS: string;
|
|
2220
|
-
SCALE_RATING: string;
|
|
2221
|
-
IMAGES: string;
|
|
2222
|
-
};
|
|
2223
|
-
|
|
2224
|
-
export declare enum STATUS {
|
|
2225
|
-
CLOSED = "Closed",
|
|
2226
|
-
OPEN = "Open",
|
|
2227
|
-
COMING_SOON = "Coming soon"
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
export declare const STATUS_FIELD_REGEXP: RegExp;
|
|
2231
|
-
|
|
2232
|
-
export declare const STATUS_SUFFIX = "_status";
|
|
2233
|
-
|
|
2234
|
-
declare class SubformReference extends BaseModel {
|
|
2235
|
-
crf_name: string;
|
|
2236
|
-
subform: number;
|
|
2237
|
-
record_id: number;
|
|
2238
|
-
subform_id: number;
|
|
2239
|
-
reference: number;
|
|
2240
|
-
static get tableName(): string;
|
|
2241
|
-
static get jsonSchema(): {
|
|
2242
|
-
type: string;
|
|
2243
|
-
properties: {
|
|
2244
|
-
id: {
|
|
2245
|
-
type: string;
|
|
2246
|
-
};
|
|
2247
|
-
crf_name: {
|
|
2248
|
-
type: string;
|
|
2249
|
-
};
|
|
2250
|
-
subform: {
|
|
2251
|
-
type: string;
|
|
2252
|
-
};
|
|
2253
|
-
record_id: {
|
|
2254
|
-
type: string;
|
|
2255
|
-
};
|
|
2256
|
-
subform_id: {
|
|
2257
|
-
type: string;
|
|
2258
|
-
};
|
|
2259
|
-
reference: {
|
|
2260
|
-
type: string;
|
|
2261
|
-
};
|
|
2262
|
-
};
|
|
2263
|
-
};
|
|
2264
|
-
static getModelByPool(projectPool: default_2.TransactionOrKnex): typeof SubformReference;
|
|
2265
|
-
static getModel(ctx: RequestContext): typeof SubformReference;
|
|
2266
|
-
static getSubformRef(ctx: RequestContext, recordId: number | null, reference: number, subform: number, crfName: string): Promise<SubformReference | undefined>;
|
|
2267
|
-
$beforeInsert(queryContext: any): Promise<void>;
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
export declare interface TextPresentationWidgetFields {
|
|
2271
|
-
template?: string;
|
|
2272
|
-
textColor?: string;
|
|
2273
|
-
bgColor?: string;
|
|
2274
|
-
}
|
|
2275
|
-
|
|
2276
|
-
export declare type TextPresentationWidgetProps = PresentationWidgetWithConditionalProps<TextPresentationWidgetFields>;
|
|
2277
|
-
|
|
2278
|
-
export declare const TIME_FORMAT = "HH:mm:ss";
|
|
2279
|
-
|
|
2280
|
-
export declare const TIME_SCHEMA = "^[0-1][0-9]:[0-5][0-9]$|^[0-2][0-3]:[0-5][0-9]$";
|
|
2281
|
-
|
|
2282
|
-
export declare enum TriggerAction {
|
|
2283
|
-
CREATION = "creation",
|
|
2284
|
-
UPDATE = "update"
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
|
-
export declare const TYPE: {
|
|
2288
|
-
QOL: string;
|
|
2289
|
-
TASK: string;
|
|
2290
|
-
};
|
|
2291
|
-
|
|
2292
|
-
export declare interface UpdateBulkUploadPayload {
|
|
2293
|
-
id: number;
|
|
2294
|
-
patientId?: number;
|
|
2295
|
-
formId?: number;
|
|
2296
|
-
}
|
|
2297
|
-
|
|
2298
|
-
export declare type UpdateDashboardWidgetPayload = Partial<CreateDashboardWidgetPayload>;
|
|
2299
|
-
|
|
2300
|
-
export declare interface UpdateFormPayload extends BaseApiServicePayload {
|
|
2301
|
-
formName: string;
|
|
2302
|
-
body: any;
|
|
2303
|
-
formId: number;
|
|
2304
|
-
token?: string;
|
|
2305
|
-
options?: QuestionnaireInfoUpdateOptions;
|
|
2306
|
-
method?: string;
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
|
-
export declare interface UpdateProcessLogPayload {
|
|
2310
|
-
reviewed?: boolean;
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
export declare type UpdateTriggerPayload = Partial<CreateTriggerPayload>;
|
|
2314
|
-
|
|
2315
|
-
declare class User extends BaseModel {
|
|
2316
|
-
username?: string;
|
|
2317
|
-
created_user?: number;
|
|
2318
|
-
created_mode?: string;
|
|
2319
|
-
mod_user?: number;
|
|
2320
|
-
mod_time?: string;
|
|
2321
|
-
email?: string;
|
|
2322
|
-
password: string;
|
|
2323
|
-
displayName?: string;
|
|
2324
|
-
blocked: number;
|
|
2325
|
-
timestamp: string;
|
|
2326
|
-
state?: number;
|
|
2327
|
-
new_register?: string;
|
|
2328
|
-
password_changed_date?: string;
|
|
2329
|
-
token?: string;
|
|
2330
|
-
type?: string;
|
|
2331
|
-
expiry_date?: string;
|
|
2332
|
-
allow_upload: number;
|
|
2333
|
-
allow_change_color: number;
|
|
2334
|
-
clinic_request: string;
|
|
2335
|
-
favourite: string;
|
|
2336
|
-
last_access?: string;
|
|
2337
|
-
temporary_password: string;
|
|
2338
|
-
currentFailedCount?: number;
|
|
2339
|
-
token_date?: string;
|
|
2340
|
-
clinics?: Clinic[];
|
|
2341
|
-
projects?: Project[];
|
|
2342
|
-
patients?: UserPatient[];
|
|
2343
|
-
profile?: UserProfile;
|
|
2344
|
-
role?: Role;
|
|
2345
|
-
profilings?: Profiling[];
|
|
2346
|
-
_clinicsNotRepeated?: Clinic[];
|
|
2347
|
-
static get tableName(): string;
|
|
2348
|
-
static get jsonSchema(): {
|
|
2349
|
-
type: string;
|
|
2350
|
-
properties: {
|
|
2351
|
-
id: {
|
|
2352
|
-
type: string;
|
|
2353
|
-
maxLength: number;
|
|
2354
|
-
};
|
|
2355
|
-
username: {
|
|
2356
|
-
oneOf: {
|
|
2357
|
-
type: string;
|
|
2358
|
-
}[];
|
|
2359
|
-
default: null;
|
|
2360
|
-
maxLength: number;
|
|
2361
|
-
};
|
|
2362
|
-
created_user: {
|
|
2363
|
-
oneOf: {
|
|
2364
|
-
type: string;
|
|
2365
|
-
}[];
|
|
2366
|
-
default: null;
|
|
2367
|
-
maxLength: number;
|
|
2368
|
-
};
|
|
2369
|
-
created_mode: {
|
|
2370
|
-
oneOf: {
|
|
2371
|
-
type: string;
|
|
2372
|
-
}[];
|
|
2373
|
-
default: null;
|
|
2374
|
-
maxLength: number;
|
|
2375
|
-
};
|
|
2376
|
-
mod_user: {
|
|
2377
|
-
oneOf: {
|
|
2378
|
-
type: string;
|
|
2379
|
-
}[];
|
|
2380
|
-
default: null;
|
|
2381
|
-
maxLength: number;
|
|
2382
|
-
};
|
|
2383
|
-
mod_time: {
|
|
2384
|
-
oneOf: ({
|
|
2385
|
-
type: string;
|
|
2386
|
-
format?: undefined;
|
|
2387
|
-
} | {
|
|
2388
|
-
type: string;
|
|
2389
|
-
format: string;
|
|
2390
|
-
})[];
|
|
2391
|
-
default: null;
|
|
2392
|
-
};
|
|
2393
|
-
email: {
|
|
2394
|
-
oneOf: {
|
|
2395
|
-
type: string;
|
|
2396
|
-
}[];
|
|
2397
|
-
default: null;
|
|
2398
|
-
maxLength: number;
|
|
2399
|
-
};
|
|
2400
|
-
password: {
|
|
2401
|
-
type: string;
|
|
2402
|
-
default: string;
|
|
2403
|
-
maxLength: number;
|
|
2404
|
-
};
|
|
2405
|
-
displayName: {
|
|
2406
|
-
oneOf: {
|
|
2407
|
-
type: string;
|
|
2408
|
-
}[];
|
|
2409
|
-
default: null;
|
|
2410
|
-
maxLength: number;
|
|
2411
|
-
};
|
|
2412
|
-
blocked: {
|
|
2413
|
-
type: string;
|
|
2414
|
-
default: number;
|
|
2415
|
-
enum: number[];
|
|
2416
|
-
};
|
|
2417
|
-
timestamp: {
|
|
2418
|
-
type: string;
|
|
2419
|
-
format: string;
|
|
2420
|
-
};
|
|
2421
|
-
state: {
|
|
2422
|
-
oneOf: {
|
|
2423
|
-
type: string;
|
|
2424
|
-
}[];
|
|
2425
|
-
default: null;
|
|
2426
|
-
maxLength: number;
|
|
2427
|
-
};
|
|
2428
|
-
new_register: {
|
|
2429
|
-
oneOf: {
|
|
2430
|
-
type: string;
|
|
2431
|
-
}[];
|
|
2432
|
-
default: null;
|
|
2433
|
-
maxLength: number;
|
|
2434
|
-
};
|
|
2435
|
-
password_changed_date: {
|
|
2436
|
-
oneOf: ({
|
|
2437
|
-
type: string;
|
|
2438
|
-
format: string;
|
|
2439
|
-
} | {
|
|
2440
|
-
type: string;
|
|
2441
|
-
format?: undefined;
|
|
2442
|
-
})[];
|
|
2443
|
-
default: null;
|
|
2444
|
-
};
|
|
2445
|
-
token: {
|
|
2446
|
-
oneOf: {
|
|
2447
|
-
type: string;
|
|
2448
|
-
}[];
|
|
2449
|
-
default: null;
|
|
2450
|
-
maxLength: number;
|
|
2451
|
-
};
|
|
2452
|
-
type: {
|
|
2453
|
-
oneOf: {
|
|
2454
|
-
type: string;
|
|
2455
|
-
}[];
|
|
2456
|
-
default: null;
|
|
2457
|
-
maxLength: number;
|
|
2458
|
-
};
|
|
2459
|
-
expiry_date: {
|
|
2460
|
-
oneOf: ({
|
|
2461
|
-
type: string;
|
|
2462
|
-
format?: undefined;
|
|
2463
|
-
} | {
|
|
2464
|
-
type: string;
|
|
2465
|
-
format: string;
|
|
2466
|
-
})[];
|
|
2467
|
-
default: null;
|
|
2468
|
-
};
|
|
2469
|
-
allow_upload: {
|
|
2470
|
-
type: string;
|
|
2471
|
-
default: number;
|
|
2472
|
-
enum: number[];
|
|
2473
|
-
};
|
|
2474
|
-
allow_change_color: {
|
|
2475
|
-
type: string;
|
|
2476
|
-
default: number;
|
|
2477
|
-
enum: number[];
|
|
2478
|
-
};
|
|
2479
|
-
clinic_request: {
|
|
2480
|
-
type: string;
|
|
2481
|
-
};
|
|
2482
|
-
favourite: {
|
|
2483
|
-
type: string;
|
|
2484
|
-
};
|
|
2485
|
-
last_access: {
|
|
2486
|
-
oneOf: {
|
|
2487
|
-
type: string;
|
|
2488
|
-
}[];
|
|
2489
|
-
default: null;
|
|
2490
|
-
};
|
|
2491
|
-
temporary_password: {
|
|
2492
|
-
type: string;
|
|
2493
|
-
};
|
|
2494
|
-
currentFailedCount: {
|
|
2495
|
-
oneOf: {
|
|
2496
|
-
type: string;
|
|
2497
|
-
}[];
|
|
2498
|
-
default: null;
|
|
2499
|
-
maxLength: number;
|
|
2500
|
-
};
|
|
2501
|
-
token_date: {
|
|
2502
|
-
oneOf: ({
|
|
2503
|
-
type: string;
|
|
2504
|
-
format?: undefined;
|
|
2505
|
-
} | {
|
|
2506
|
-
type: string;
|
|
2507
|
-
format: string;
|
|
2508
|
-
})[];
|
|
2509
|
-
default: null;
|
|
2510
|
-
};
|
|
2511
|
-
};
|
|
2512
|
-
additionalProperties: boolean;
|
|
2513
|
-
};
|
|
2514
|
-
static get relationMappings(): {
|
|
2515
|
-
clinics: {
|
|
2516
|
-
relation: default_2.RelationType;
|
|
2517
|
-
modelClass: string;
|
|
2518
|
-
join: {
|
|
2519
|
-
from: string;
|
|
2520
|
-
through: {
|
|
2521
|
-
from: string;
|
|
2522
|
-
to: string;
|
|
2523
|
-
};
|
|
2524
|
-
to: string;
|
|
2525
|
-
};
|
|
2526
|
-
};
|
|
2527
|
-
projects: {
|
|
2528
|
-
relation: default_2.RelationType;
|
|
2529
|
-
modelClass: string;
|
|
2530
|
-
join: {
|
|
2531
|
-
from: string;
|
|
2532
|
-
through: {
|
|
2533
|
-
from: string;
|
|
2534
|
-
to: string;
|
|
2535
|
-
};
|
|
2536
|
-
to: string;
|
|
2537
|
-
};
|
|
2538
|
-
};
|
|
2539
|
-
patients: {
|
|
2540
|
-
relation: default_2.RelationType;
|
|
2541
|
-
modelClass: string;
|
|
2542
|
-
join: {
|
|
2543
|
-
from: string;
|
|
2544
|
-
to: string;
|
|
2545
|
-
};
|
|
2546
|
-
};
|
|
2547
|
-
profile: {
|
|
2548
|
-
relation: default_2.RelationType;
|
|
2549
|
-
modelClass: string;
|
|
2550
|
-
join: {
|
|
2551
|
-
from: string;
|
|
2552
|
-
to: string;
|
|
2553
|
-
};
|
|
2554
|
-
};
|
|
2555
|
-
role: {
|
|
2556
|
-
relation: default_2.RelationType;
|
|
2557
|
-
modelClass: string;
|
|
2558
|
-
join: {
|
|
2559
|
-
from: string;
|
|
2560
|
-
through: {
|
|
2561
|
-
from: string;
|
|
2562
|
-
to: string;
|
|
2563
|
-
};
|
|
2564
|
-
to: string;
|
|
2565
|
-
};
|
|
2566
|
-
};
|
|
2567
|
-
profilings: {
|
|
2568
|
-
relation: default_2.RelationType;
|
|
2569
|
-
modelClass: string;
|
|
2570
|
-
join: {
|
|
2571
|
-
from: string;
|
|
2572
|
-
through: {
|
|
2573
|
-
from: string;
|
|
2574
|
-
to: string;
|
|
2575
|
-
};
|
|
2576
|
-
to: string;
|
|
2577
|
-
};
|
|
2578
|
-
};
|
|
2579
|
-
};
|
|
2580
|
-
static getModel(ctx: RequestContext): typeof User;
|
|
2581
|
-
static getModelByPool(ecosystemPool: default_2.TransactionOrKnex): typeof User;
|
|
2582
|
-
static getUser(ctx: RequestContext, userId: number): Promise<User | undefined>;
|
|
2583
|
-
static fetchAll(ecosystemPool: default_2.TransactionOrKnex, userId: number, page: number, perPage: number): default_2.QueryBuilder<User, default_2.Page<User>>;
|
|
2584
|
-
static fetchAllForProjects(ecosystemPool: default_2.TransactionOrKnex, projects: number[], userId: number, page: number, perPage: number): default_2.QueryBuilder<User, default_2.Page<User>>;
|
|
2585
|
-
static fetchAllForProjectsAndOrganizations(ecosystemPool: default_2.TransactionOrKnex, clinics: number[], userId: number, page: number, perPage: number): default_2.QueryBuilder<User, default_2.Page<User>>;
|
|
2586
|
-
static getScopes(ecosystemPool: default_2.TransactionOrKnex, userId: number): Promise<User | undefined>;
|
|
2587
|
-
static getUserByEmail(ecosystemPool: default_2.TransactionOrKnex, email: string): Promise<User | undefined>;
|
|
2588
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<User>): Promise<number>;
|
|
2589
|
-
static patch(ctx: RequestContext, data: default_2.PartialModelObject<User>, id: number): Promise<User>;
|
|
2590
|
-
static checkIfIdExists(ctx: RequestContext, userId: number): Promise<boolean>;
|
|
2591
|
-
static checkIfEmailExists(ctx: RequestContext, email: string, returnId?: boolean): Promise<number | boolean>;
|
|
2592
|
-
static checkIfUsernameExists(ctx: RequestContext, username: string, returnId?: boolean): Promise<number | boolean>;
|
|
2593
|
-
static getUserPassword(ctx: RequestContext, userId: number): Promise<string | null>;
|
|
2594
|
-
static setUserNewPassword(ctx: RequestContext, userId: number, newPassword: string): Promise<boolean>;
|
|
2595
|
-
static activateAccount(ctx: RequestContext, userId: number, username: string, password: string): Promise<User>;
|
|
2596
|
-
static logAccess(ctx: RequestContext, userId: number, checkPrevValue?: boolean): Promise<void>;
|
|
2597
|
-
static logFailedLogin(ecosystemPool: default_2.TransactionOrKnex, userId: number): Promise<User[]>;
|
|
2598
|
-
static resetCurrentFailedCount(ecosystemPool: default_2.TransactionOrKnex, userId: number): Promise<number>;
|
|
2599
|
-
static checkUploadDocumentsPermissions(projectId: number, profilings: Profiling[]): boolean;
|
|
2600
|
-
static checkDeleteDocumentsPermissions(projectId: number, profilings: Profiling[]): boolean;
|
|
2601
|
-
static checkDownloadDocumentsPermissions(projectId: number, profilings: Profiling[]): boolean;
|
|
2602
|
-
getCrfFilter(projectName: string): string[] | null;
|
|
2603
|
-
getClinics(): Clinic[];
|
|
2604
|
-
checkIfAccountIsActivated(activationToken: string): boolean;
|
|
2605
|
-
checkCreateUserPermissions(selectedProfilingId: any, projectId: any, clinicsIds: any): boolean | undefined;
|
|
2606
|
-
isMobileLogged(ecosystemPool: default_2.TransactionOrKnex, userId: number): Promise<boolean>;
|
|
2607
|
-
hasStatusPermissions(projectName: string, clinics: Clinic[], profilingId: number): boolean;
|
|
2608
|
-
hasConnectorAddPermissions(projectName: string): boolean | undefined;
|
|
2609
|
-
checkUserManagementMyOrganizationsPermissions(projectName: string, clinics: Clinic[]): boolean;
|
|
2610
|
-
checkAllowControlProfilesPermissions(projectName: string, profilingId: number): boolean;
|
|
2611
|
-
checkAddPatientPermissions(projectId: number): boolean;
|
|
2612
|
-
checkConfigNotificationsPermissions(projectId: number): boolean;
|
|
2613
|
-
checkDisplayPatientListPermissions(projectId: number): boolean;
|
|
2614
|
-
checkOnlyUpdatePatientsPermissions(projectName: string): boolean;
|
|
2615
|
-
checkPermission(ctx: RequestContext, privilege: SEED_PRIVILEGES): boolean;
|
|
2616
|
-
/**
|
|
2617
|
-
* Retrieves a list of profiling IDs that have the specified privilege within the given context.
|
|
2618
|
-
*/
|
|
2619
|
-
getProfilingsIdsWithPrivilege(ctx: RequestContext, privilege: SEED_PRIVILEGES): number[] | undefined;
|
|
2620
|
-
checkUserProject(projectId: number): boolean;
|
|
2621
|
-
isPerseedAdmin(): boolean;
|
|
2622
|
-
isEcosystemAdmin(): boolean;
|
|
2623
|
-
isAdmin(): boolean;
|
|
2624
|
-
getProject(projectName: string): Project | undefined;
|
|
2625
|
-
getProjectId(ctx: RequestContext): Promise<number | undefined>;
|
|
2626
|
-
hasProjectAccessByName(projectName: string): boolean;
|
|
2627
|
-
getProfiling(projectName: string): Profiling | undefined;
|
|
2628
|
-
isNonPro(projectName: string): boolean;
|
|
2629
|
-
isPro(projectName: string): boolean;
|
|
2630
|
-
hasEnabledForm(projectName: string, formName: string): boolean;
|
|
2631
|
-
canViewForm(projectName: string, formName: string): boolean | undefined;
|
|
2632
|
-
canDeletePatient(projectName: string): boolean | undefined;
|
|
2633
|
-
canFullDeletePatient(projectName: string): boolean | undefined;
|
|
2634
|
-
canAddRepeatCrf(projectName: string, formName: string): boolean;
|
|
2635
|
-
canDeleteRepeatCrf(projectName: string, formName: string): boolean;
|
|
2636
|
-
canSeeAllPatients(projectName: string): boolean | undefined;
|
|
2637
|
-
canOnlySeeOwnPatients(projectName: string): boolean | undefined;
|
|
2638
|
-
hasClinicAccess(clinicId: string): boolean;
|
|
2639
|
-
getPatient(projectName: string): UserPatient | null | undefined;
|
|
2640
|
-
getPatientId(projectName: string): number | null | undefined;
|
|
2641
|
-
hasProjectClinicAccess(projectName: string, clinicId?: string | null): boolean | "" | null | undefined;
|
|
2642
|
-
getProjectClinicsAssociated(projectName: string): Clinic[];
|
|
2643
|
-
callConnector(ctx: RequestContext, body: any, token: string, method: string, project: ExternalPatientProject, PATH: string, formName: string, subformFieldName?: string): Promise<any>;
|
|
2644
|
-
getConsent(ecosystemPool: default_2.TransactionOrKnex, projectName: string, returnArray: false): Promise<ConsentGeneral>;
|
|
2645
|
-
getConsent(ecosystemPool: default_2.TransactionOrKnex, projectName: string, returnArray: true): Promise<ConsentGeneral[]>;
|
|
2646
|
-
fillConsent(ecosystemPool: default_2.TransactionOrKnex, projectName: string, userConsent: any, t: TFunction): Promise<void>;
|
|
2647
|
-
isLegalAccessAllowed(ecosystemPool: default_2.TransactionOrKnex, projectName: string): Promise<boolean>;
|
|
2648
|
-
isConsentFilled(ecosystemPool: default_2.TransactionOrKnex, projectName: string): Promise<boolean>;
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
|
-
declare class UserClinic extends BaseModel {
|
|
2652
|
-
user_id?: number;
|
|
2653
|
-
clinic_id?: number;
|
|
2654
|
-
project_id?: number;
|
|
2655
|
-
static get tableName(): string;
|
|
2656
|
-
static get jsonSchema(): {
|
|
2657
|
-
type: string;
|
|
2658
|
-
properties: {
|
|
2659
|
-
id: {
|
|
2660
|
-
type: string;
|
|
2661
|
-
};
|
|
2662
|
-
user_id: {
|
|
2663
|
-
oneOf: {
|
|
2664
|
-
type: string;
|
|
2665
|
-
}[];
|
|
2666
|
-
default: null;
|
|
2667
|
-
maxLength: number;
|
|
2668
|
-
};
|
|
2669
|
-
clinic_id: {
|
|
2670
|
-
oneOf: {
|
|
2671
|
-
type: string;
|
|
2672
|
-
}[];
|
|
2673
|
-
default: null;
|
|
2674
|
-
maxLength: number;
|
|
2675
|
-
};
|
|
2676
|
-
project_id: {
|
|
2677
|
-
oneOf: {
|
|
2678
|
-
type: string;
|
|
2679
|
-
}[];
|
|
2680
|
-
default: null;
|
|
2681
|
-
maxLength: number;
|
|
2682
|
-
};
|
|
2683
|
-
};
|
|
2684
|
-
additionalProperties: boolean;
|
|
2685
|
-
};
|
|
2686
|
-
static getModel(ctx: RequestContext): typeof UserClinic;
|
|
2687
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<UserClinic>): Promise<number>;
|
|
2688
|
-
static getUserClinicId(ctx: RequestContext, userId: number, projectId: number): Promise<number[]>;
|
|
2689
|
-
static checkUserClinic(ctx: RequestContext, userId: number, projectId: number, clinicsIds: number[]): Promise<any>;
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
declare interface UserData {
|
|
2693
|
-
language?: string;
|
|
2694
|
-
userId: number;
|
|
2695
|
-
userName: string;
|
|
2696
|
-
ecosystem: string;
|
|
2697
|
-
email: string;
|
|
2698
|
-
loginId: string;
|
|
2699
|
-
displayName: string;
|
|
2700
|
-
userType: string;
|
|
2701
|
-
ecosystemLabel: string;
|
|
2702
|
-
tz: string;
|
|
2703
|
-
settings?: SettingResponse[];
|
|
2704
|
-
}
|
|
2705
|
-
|
|
2706
|
-
declare class UserMobileApp extends BaseModel {
|
|
2707
|
-
user_id: number;
|
|
2708
|
-
device_id?: string;
|
|
2709
|
-
device_token?: string;
|
|
2710
|
-
token?: string;
|
|
2711
|
-
created_at: string;
|
|
2712
|
-
updated_at?: string;
|
|
2713
|
-
static get tableName(): string;
|
|
2714
|
-
static get jsonSchema(): {
|
|
2715
|
-
type: string;
|
|
2716
|
-
properties: {
|
|
2717
|
-
id: {
|
|
2718
|
-
type: string;
|
|
2719
|
-
maxLength: number;
|
|
2720
|
-
};
|
|
2721
|
-
user_id: {
|
|
2722
|
-
type: string;
|
|
2723
|
-
maxLength: number;
|
|
2724
|
-
};
|
|
2725
|
-
device_id: {
|
|
2726
|
-
oneOf: {
|
|
2727
|
-
type: string;
|
|
2728
|
-
}[];
|
|
2729
|
-
};
|
|
2730
|
-
device_token: {
|
|
2731
|
-
oneOf: {
|
|
2732
|
-
type: string;
|
|
2733
|
-
}[];
|
|
2734
|
-
};
|
|
2735
|
-
token: {
|
|
2736
|
-
oneOf: {
|
|
2737
|
-
type: string;
|
|
2738
|
-
}[];
|
|
2739
|
-
};
|
|
2740
|
-
created_at: {
|
|
2741
|
-
type: string;
|
|
2742
|
-
format: string;
|
|
2743
|
-
};
|
|
2744
|
-
updated_at: {
|
|
2745
|
-
oneOf: ({
|
|
2746
|
-
type: string;
|
|
2747
|
-
format?: undefined;
|
|
2748
|
-
} | {
|
|
2749
|
-
type: string;
|
|
2750
|
-
format: string;
|
|
2751
|
-
})[];
|
|
2752
|
-
default: null;
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
additionalProperties: boolean;
|
|
2756
|
-
};
|
|
2757
|
-
static getModel(ecosystemPool: default_2.TransactionOrKnex): typeof UserMobileApp;
|
|
2758
|
-
static get(ecosystemPool: default_2.TransactionOrKnex, userId: number): Promise<UserMobileApp | undefined>;
|
|
2759
|
-
}
|
|
2760
|
-
|
|
2761
|
-
declare class UserPatient extends BaseModel {
|
|
2762
|
-
user_id?: number;
|
|
2763
|
-
patient_id?: number;
|
|
2764
|
-
project_id?: number;
|
|
2765
|
-
patient_number: string;
|
|
2766
|
-
projects?: Project;
|
|
2767
|
-
user?: User | null;
|
|
2768
|
-
user_profile: UserProfile;
|
|
2769
|
-
user_mobile?: UserMobileApp[];
|
|
2770
|
-
static get tableName(): string;
|
|
2771
|
-
static get jsonSchema(): {
|
|
2772
|
-
type: string;
|
|
2773
|
-
properties: {
|
|
2774
|
-
id: {
|
|
2775
|
-
type: string;
|
|
2776
|
-
};
|
|
2777
|
-
user_id: {
|
|
2778
|
-
oneOf: {
|
|
2779
|
-
type: string;
|
|
2780
|
-
}[];
|
|
2781
|
-
};
|
|
2782
|
-
patient_id: {
|
|
2783
|
-
oneOf: {
|
|
2784
|
-
type: string;
|
|
2785
|
-
}[];
|
|
2786
|
-
};
|
|
2787
|
-
project_id: {
|
|
2788
|
-
oneOf: {
|
|
2789
|
-
type: string;
|
|
2790
|
-
}[];
|
|
2791
|
-
};
|
|
2792
|
-
patient_number: {
|
|
2793
|
-
type: string;
|
|
2794
|
-
maxLength: number;
|
|
2795
|
-
};
|
|
2796
|
-
};
|
|
2797
|
-
};
|
|
2798
|
-
static get relationMappings(): {
|
|
2799
|
-
projects: {
|
|
2800
|
-
relation: default_2.RelationType;
|
|
2801
|
-
modelClass: string;
|
|
2802
|
-
join: {
|
|
2803
|
-
from: string;
|
|
2804
|
-
to: string;
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
user: {
|
|
2808
|
-
relation: default_2.RelationType;
|
|
2809
|
-
modelClass: string;
|
|
2810
|
-
join: {
|
|
2811
|
-
from: string;
|
|
2812
|
-
to: string;
|
|
2813
|
-
};
|
|
2814
|
-
};
|
|
2815
|
-
user_profile: {
|
|
2816
|
-
relation: default_2.RelationType;
|
|
2817
|
-
modelClass: string;
|
|
2818
|
-
join: {
|
|
2819
|
-
from: string;
|
|
2820
|
-
to: string;
|
|
2821
|
-
};
|
|
2822
|
-
};
|
|
2823
|
-
user_mobile: {
|
|
2824
|
-
relation: default_2.RelationType;
|
|
2825
|
-
modelClass: string;
|
|
2826
|
-
join: {
|
|
2827
|
-
from: string;
|
|
2828
|
-
to: string;
|
|
2829
|
-
};
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
2832
|
-
static getModel(ctx: RequestContext): typeof UserPatient;
|
|
2833
|
-
static getModelByPool(ecosystemPool: default_2.TransactionOrKnex): typeof UserPatient;
|
|
2834
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<UserPatient>): Promise<number>;
|
|
2835
|
-
}
|
|
2836
|
-
|
|
2837
|
-
declare class UserProfile extends BaseModel {
|
|
2838
|
-
user_id?: number;
|
|
2839
|
-
name?: string;
|
|
2840
|
-
surname?: string;
|
|
2841
|
-
address?: string;
|
|
2842
|
-
phone?: string;
|
|
2843
|
-
image?: string;
|
|
2844
|
-
birthday?: string;
|
|
2845
|
-
company?: string;
|
|
2846
|
-
company_localtion?: string;
|
|
2847
|
-
position?: string;
|
|
2848
|
-
description?: string;
|
|
2849
|
-
language?: string;
|
|
2850
|
-
training_password?: string;
|
|
2851
|
-
demo_accepted?: number;
|
|
2852
|
-
user_accepted?: number;
|
|
2853
|
-
accepted_date?: string;
|
|
2854
|
-
tzname?: string;
|
|
2855
|
-
location?: string | null;
|
|
2856
|
-
static get tableName(): string;
|
|
2857
|
-
static get virtualAttributes(): string[];
|
|
2858
|
-
static get jsonSchema(): {
|
|
2859
|
-
type: string;
|
|
2860
|
-
properties: {
|
|
2861
|
-
id: {
|
|
2862
|
-
type: string;
|
|
2863
|
-
maxLength: number;
|
|
2864
|
-
};
|
|
2865
|
-
user_id: {
|
|
2866
|
-
oneOf: {
|
|
2867
|
-
type: string;
|
|
2868
|
-
}[];
|
|
2869
|
-
maxLength: number;
|
|
2870
|
-
};
|
|
2871
|
-
name: {
|
|
2872
|
-
oneOf: {
|
|
2873
|
-
type: string;
|
|
2874
|
-
}[];
|
|
2875
|
-
maxLength: number;
|
|
2876
|
-
};
|
|
2877
|
-
surname: {
|
|
2878
|
-
oneOf: {
|
|
2879
|
-
type: string;
|
|
2880
|
-
}[];
|
|
2881
|
-
maxLength: number;
|
|
2882
|
-
};
|
|
2883
|
-
address: {
|
|
2884
|
-
oneOf: {
|
|
2885
|
-
type: string;
|
|
2886
|
-
}[];
|
|
2887
|
-
default: null;
|
|
2888
|
-
maxLength: number;
|
|
2889
|
-
};
|
|
2890
|
-
phone: {
|
|
2891
|
-
oneOf: {
|
|
2892
|
-
type: string;
|
|
2893
|
-
}[];
|
|
2894
|
-
default: null;
|
|
2895
|
-
maxLength: number;
|
|
2896
|
-
};
|
|
2897
|
-
image: {
|
|
2898
|
-
oneOf: {
|
|
2899
|
-
type: string;
|
|
2900
|
-
}[];
|
|
2901
|
-
default: null;
|
|
2902
|
-
maxLength: number;
|
|
2903
|
-
};
|
|
2904
|
-
birthday: {
|
|
2905
|
-
oneOf: ({
|
|
2906
|
-
type: string;
|
|
2907
|
-
format: string;
|
|
2908
|
-
} | {
|
|
2909
|
-
type: string;
|
|
2910
|
-
format?: undefined;
|
|
2911
|
-
})[];
|
|
2912
|
-
default: null;
|
|
2913
|
-
};
|
|
2914
|
-
company: {
|
|
2915
|
-
oneOf: {
|
|
2916
|
-
type: string;
|
|
2917
|
-
}[];
|
|
2918
|
-
default: null;
|
|
2919
|
-
maxLength: number;
|
|
2920
|
-
};
|
|
2921
|
-
company_localtion: {
|
|
2922
|
-
oneOf: {
|
|
2923
|
-
type: string;
|
|
2924
|
-
}[];
|
|
2925
|
-
default: null;
|
|
2926
|
-
maxLength: number;
|
|
2927
|
-
};
|
|
2928
|
-
position: {
|
|
2929
|
-
oneOf: {
|
|
2930
|
-
type: string;
|
|
2931
|
-
}[];
|
|
2932
|
-
default: null;
|
|
2933
|
-
maxLength: number;
|
|
2934
|
-
};
|
|
2935
|
-
description: {
|
|
2936
|
-
oneOf: {
|
|
2937
|
-
type: string;
|
|
2938
|
-
}[];
|
|
2939
|
-
default: null;
|
|
2940
|
-
maxLength: number;
|
|
2941
|
-
};
|
|
2942
|
-
language: {
|
|
2943
|
-
oneOf: {
|
|
2944
|
-
type: string;
|
|
2945
|
-
}[];
|
|
2946
|
-
default: string;
|
|
2947
|
-
maxLength: number;
|
|
2948
|
-
};
|
|
2949
|
-
training_password: {
|
|
2950
|
-
oneOf: {
|
|
2951
|
-
type: string;
|
|
2952
|
-
}[];
|
|
2953
|
-
default: null;
|
|
2954
|
-
maxLength: number;
|
|
2955
|
-
};
|
|
2956
|
-
demo_accepted: {
|
|
2957
|
-
type: string;
|
|
2958
|
-
default: number;
|
|
2959
|
-
minimum: number;
|
|
2960
|
-
maximum: number;
|
|
2961
|
-
};
|
|
2962
|
-
user_accepted: {
|
|
2963
|
-
type: string;
|
|
2964
|
-
default: number;
|
|
2965
|
-
minimum: number;
|
|
2966
|
-
maximum: number;
|
|
2967
|
-
};
|
|
2968
|
-
accepted_date: {
|
|
2969
|
-
oneOf: ({
|
|
2970
|
-
type: string;
|
|
2971
|
-
format?: undefined;
|
|
2972
|
-
} | {
|
|
2973
|
-
type: string;
|
|
2974
|
-
format: string;
|
|
2975
|
-
})[];
|
|
2976
|
-
default: null;
|
|
2977
|
-
};
|
|
2978
|
-
tzname: {
|
|
2979
|
-
oneOf: {
|
|
2980
|
-
type: string;
|
|
2981
|
-
}[];
|
|
2982
|
-
maxLength: number;
|
|
2983
|
-
};
|
|
2984
|
-
};
|
|
2985
|
-
additionalProperties: boolean;
|
|
2986
|
-
};
|
|
2987
|
-
get acceptLanguage(): string | null;
|
|
2988
|
-
static getModel(ctx: RequestContext): typeof UserProfile;
|
|
2989
|
-
static getModelByPool(ecosystemPool: default_2.TransactionOrKnex): typeof UserProfile;
|
|
2990
|
-
static insert(ctx: RequestContext, data: default_2.PartialModelObject<UserProfile>): Promise<number>;
|
|
2991
|
-
static checkIfUserIdExists(ctx: RequestContext, userId: number): Promise<boolean>;
|
|
2992
|
-
}
|
|
2993
|
-
|
|
2994
|
-
declare type UserSettingValue = string | number | boolean | Record<string, string | number> | string[] | number[];
|
|
2995
|
-
|
|
2996
|
-
export declare interface ValueCardProps {
|
|
2997
|
-
icon: string;
|
|
2998
|
-
text: I18nTextTranslation;
|
|
2999
|
-
subtext?: I18nTextTranslation;
|
|
3000
|
-
titleTextColor?: string;
|
|
3001
|
-
bodyTextColor?: string;
|
|
3002
|
-
data?: Record<string, any>;
|
|
3003
|
-
dataLoader?: DashboardWidgetDataLoader<WidgetOutcomesDataLoader>;
|
|
3004
|
-
}
|
|
3005
|
-
|
|
3006
|
-
export declare type WidgetBlockConfig = {
|
|
3007
|
-
size?: number | ColProps;
|
|
3008
|
-
};
|
|
3009
|
-
|
|
3010
|
-
export declare interface WidgetOutcomesDataLoader {
|
|
3011
|
-
type: DataLoaderType.OUTCOMES;
|
|
3012
|
-
params: OutcomesParams;
|
|
3013
|
-
}
|
|
3014
|
-
|
|
3015
|
-
export declare type WidgetTypeProps = {
|
|
3016
|
-
type: DashboardWidgetType.SECTIONCARD;
|
|
3017
|
-
params: SectionCardProps;
|
|
3018
|
-
} | {
|
|
3019
|
-
type: DashboardWidgetType.VALUECARD;
|
|
3020
|
-
params: ValueCardProps;
|
|
3021
|
-
} | {
|
|
3022
|
-
type: DashboardWidgetType.PATIENTLIST;
|
|
3023
|
-
params: PatientListProps;
|
|
3024
|
-
} | {
|
|
3025
|
-
type: DashboardWidgetType.DASHBOARD;
|
|
3026
|
-
params: DashboardProps;
|
|
3027
|
-
} | {
|
|
3028
|
-
type: DashboardWidgetType.QUESTIONNAIRE_LOG;
|
|
3029
|
-
params: EmptyProps;
|
|
3030
|
-
} | {
|
|
3031
|
-
type: DashboardWidgetType.PATIENTS_PROGRAMS;
|
|
3032
|
-
params: EmptyProps;
|
|
3033
|
-
} | {
|
|
3034
|
-
type: DashboardWidgetType.PATIENTS;
|
|
3035
|
-
params: EmptyProps;
|
|
3036
|
-
} | {
|
|
3037
|
-
type: DashboardWidgetType.ADHERENCE_SUMMARY;
|
|
3038
|
-
params: EmptyProps;
|
|
3039
|
-
} | {
|
|
3040
|
-
type: DashboardWidgetType.FORM_LIST;
|
|
3041
|
-
params: FormListProps;
|
|
3042
|
-
};
|
|
3043
|
-
|
|
3044
|
-
export { }
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
declare module 'fastify' {
|
|
3048
|
-
interface FastifyRequest {
|
|
3049
|
-
auth?: AuthPayload;
|
|
3050
|
-
token?: string;
|
|
3051
|
-
}
|
|
3052
|
-
}
|
|
3053
|
-
|
|
3054
|
-
declare module 'fastify' {
|
|
3055
|
-
interface FastifyRequest {
|
|
3056
|
-
startTime: ReturnType<typeof process.hrtime>;
|
|
3057
|
-
}
|
|
3058
|
-
}
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
declare module 'fastify' {
|
|
3062
|
-
interface FastifyRequest {
|
|
3063
|
-
geoip: geoip.Lookup | null;
|
|
3064
|
-
proxyIp: string | undefined;
|
|
3065
|
-
}
|
|
3066
|
-
}
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
declare module 'fastify' {
|
|
3070
|
-
interface FastifyRequest {
|
|
3071
|
-
ctx: RequestContext;
|
|
3072
|
-
}
|
|
3073
|
-
}
|